summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-03-08 06:20:02 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:02 +0000
commitc187de605d54c28574c457b00577045483eebac1 (patch)
treefe01ee9ad810bdb16acab104093794393e39c343 /src/game
parentf5fc851f86c403030162c390d72b5551af407853 (diff)
* Fix timestamps in games.log not resetting after a map_restart (thanks kharnov)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index d44b13fb..3f3bf13e 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1714,7 +1714,7 @@ void QDECL G_LogPrintf( const char *fmt, ... )
char string[ 1024 ], decolored[ 1024 ];
int min, tens, sec;
- sec = level.time / 1000;
+ sec = ( level.time - level.startTime ) / 1000;
min = sec / 60;
sec -= min * 60;