mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 07:23:53 +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:
@@ -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