mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
Fixed file handle leak when loading a save game
git-svn-id: https://svn.eduke32.com/eduke32@6565 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
efaf328e4d
commit
59597982c5
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ int32_t G_LoadPlayer(int32_t spot)
|
|||
|
||||
VM_OnEvent(EVENT_LOADGAME, g_player[screenpeek].ps->i, screenpeek);
|
||||
|
||||
kclose(fil);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue