Initialize timeOffset correctly.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9258 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2010-01-16 22:29:39 +00:00 committed by Git SVN Gateway
parent dabc178157
commit 5da6588fb0
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ BOOL gameTimeInit(void)
/* Start the timer off at 2 so that when the scripts strip the map of objects
* for multiPlayer they will be processed as if they died. */
gameTime = 2;
timeOffset = 0;
timeOffset = 2;
baseTime = SDL_GetTicks();
gameTime2 = 0;