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