mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove useless attributes m_globalVol, set/getGlobalSound from Game
These do basically nothing. The only time they're used is getGlobalSound() in an if-statement in main.cpp, but all that if-conditional does is call setGlobalSound() anyway, which is something that doesn't really have any side effects. So I'm removing these vars to simplify the code.
This commit is contained in:
@@ -122,7 +122,6 @@ void Game::init(void)
|
||||
musicmuted = false;
|
||||
musicmutebutton = 0;
|
||||
globalsound = 128;
|
||||
m_globalVol = 1.0f;
|
||||
|
||||
glitchrunkludge = false;
|
||||
hascontrol = true;
|
||||
|
||||
Reference in New Issue
Block a user