mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +03:00
Use an 'else' instead of re-checking 'game.muted' again
Makes the code easier to read and parse.
This commit is contained in:
1 parent
9db96f004b
commit
2016ee1b60
1 file changed
+1
-2
@@ -531,8 +531,7 @@ int main(int argc, char *argv[])
|
|||||||
Mix_VolumeMusic(0) ;
|
Mix_VolumeMusic(0) ;
|
||||||
Mix_Volume(-1,0);
|
Mix_Volume(-1,0);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
if (!game.muted)
|
|
||||||
{
|
{
|
||||||
Mix_Volume(-1,MIX_MAX_VOLUME);
|
Mix_Volume(-1,MIX_MAX_VOLUME);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user