diff options
author | John Ellis <johne@verizon.net> | 2010-07-23 20:42:05 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:40 +0000 |
commit | feb86639efdd7d548247c15cdf16443b26e474a8 (patch) | |
tree | 7e9ccc997d0b54a322264e8943685dd738adc72c | |
parent | 93a802014e6e6b732732d659e94917bcd21117e4 (diff) |
* Clear level.logfile handle after closing it for ShutdownGame.
-rw-r--r-- | src/game/g_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index cefcd76d..b5d409f1 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -671,6 +671,7 @@ void G_ShutdownGame( int restart ) G_LogPrintf( "ShutdownGame:\n" ); G_LogPrintf( "------------------------------------------------------------\n" ); trap_FS_FCloseFile( level.logFile ); + level.logFile = 0; } // write all the client session data so we can get it back |