Fix gameTimeStart and gameTimeStop being reversed.
Introduced in a5ad6ef0e9
, d'oh.
Fixes ticket:3006.
master
parent
7481b39a77
commit
aeb3634720
|
@ -301,7 +301,7 @@ void gameTimeStart(void)
|
|||
ASSERT(stopCount > 0, "Game started too many times.");
|
||||
|
||||
prevRealTime = wzGetTicks();
|
||||
stopCount = std::min<int>(stopCount - 1, 0);
|
||||
stopCount = std::max<int>(stopCount - 1, 0);
|
||||
}
|
||||
|
||||
/* Call this to reset the game timer */
|
||||
|
|
Loading…
Reference in New Issue