Remove game.gametimer in favor of game.frames

PR #279 added game.gametimer solely for the editor ghosts feature. It
seems that whoever originally wrote it (Leo for the now-dead VVVVVV:
Community Edition, I believe) forgot that the game already had its own
timer, that they could use.

The game timer does increment on unfocus pause (whereas this doesn't),
but that's a separate issue, and it ought to not do that.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-03-21 20:53:11 -04:00
1 parent 17169320b4
commit d45e6f6254
4 files changed
+1 -6

No files matched your search

-2
View File
@@ -436,8 +436,6 @@ public:
void returntoeditor(void);
#endif
int gametimer;
bool inline inspecial(void)
{
return inintermission || insecretlab || intimetrial || nodeathmode;