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 authored and Ethan Lee committed 2020-04-09 19:20:31 -04:00
1 parent 6428a14244
commit 588a49dbc8
2 files changed
-4

No files matched your search

-3
View File
@@ -122,8 +122,6 @@ void Game::init(void)
globalsound = 128;
m_globalVol = 1.0f;
timerStartTime= SDL_GetTicks();
glitchrunkludge = false;
hascontrol = true;
jumpheld = false;
@@ -7646,7 +7644,6 @@ void Game::resetgameclock()
seconds = 0;
minutes = 0;
hours = 0;
timerStartTime = SDL_GetTicks();
}
int Game::trinkets()
-1
View File
@@ -136,7 +136,6 @@ public:
//public var crewstats:Array = new Array();
int lastsaved;
int deathcounts;
int timerStartTime;
int frames, seconds, minutes, hours;
bool gamesaved;