1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Remove useless variable game.timerStartTime

It sometimes gets set to SDL_GetTicks(), but without being checked or
actually used, it's useless and does nothing.
This commit is contained in:
Misa 2020-04-08 22:29:18 -07:00 committed by Ethan Lee
parent 6428a14244
commit 588a49dbc8
2 changed files with 0 additions and 4 deletions

View file

@ -122,8 +122,6 @@ void Game::init(void)
globalsound = 128; globalsound = 128;
m_globalVol = 1.0f; m_globalVol = 1.0f;
timerStartTime= SDL_GetTicks();
glitchrunkludge = false; glitchrunkludge = false;
hascontrol = true; hascontrol = true;
jumpheld = false; jumpheld = false;
@ -7646,7 +7644,6 @@ void Game::resetgameclock()
seconds = 0; seconds = 0;
minutes = 0; minutes = 0;
hours = 0; hours = 0;
timerStartTime = SDL_GetTicks();
} }
int Game::trinkets() int Game::trinkets()

View file

@ -136,7 +136,6 @@ public:
//public var crewstats:Array = new Array(); //public var crewstats:Array = new Array();
int lastsaved; int lastsaved;
int deathcounts; int deathcounts;
int timerStartTime;
int frames, seconds, minutes, hours; int frames, seconds, minutes, hours;
bool gamesaved; bool gamesaved;