1
0
Fork 0
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:
Misa 2020-04-19 13:19:44 -07:00 committed by Ethan Lee
parent 9db96f004b
commit 2016ee1b60

View file

@ -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);