mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 13:12:07 +00:00
Patch from Tremulous / description from Zack Middleton: (#5041)
Clear game logfile handle after closing file. Game does not clear logFile handle when closing file. Might be an issue if G_LogPrintf is called after this. Patch from tremulous http://svn.icculus.org/tremulous?view=rev&revision=2041
This commit is contained in:
parent
b3745b7206
commit
16d2ab5f8b
1 changed files with 1 additions and 0 deletions
|
@ -524,6 +524,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
|
||||
|
|
Loading…
Reference in a new issue