- 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

View file

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