mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-03 15:39:46 +01:00
Use an 'else' instead of re-checking 'game.muted' again
Makes the code easier to read and parse.
This commit is contained in:
parent
9db96f004b
commit
2016ee1b60
1 changed files with 1 additions and 2 deletions
|
@ -531,8 +531,7 @@ int main(int argc, char *argv[])
|
|||
Mix_VolumeMusic(0) ;
|
||||
Mix_Volume(-1,0);
|
||||
}
|
||||
|
||||
if (!game.muted)
|
||||
else
|
||||
{
|
||||
Mix_Volume(-1,MIX_MAX_VOLUME);
|
||||
|
||||
|
|
Loading…
Reference in a new issue