- fixed premature destruction of status bar

Status bar was already freed while `FCajunMaster::RemoveAllBots()` function may still access it
Status bar is destroyed a bit later in `P_Shutdown()` function

https://forum.zdoom.org/viewtopic.php?t=72843
This commit is contained in:
alexey.lysiuk 2021-07-28 09:48:52 +03:00
parent e91485c50c
commit b5247182f4
1 changed files with 0 additions and 1 deletions

View File

@ -3736,7 +3736,6 @@ void D_Cleanup()
FreeSBarInfoScript(); FreeSBarInfoScript();
// clean up game state // clean up game state
ST_Clear();
D_ErrorCleanup (); D_ErrorCleanup ();
P_Shutdown(); P_Shutdown();