Merge branch 'fix-exit-automap-segfault' into 'next'

Fix segfault when exiting game with automap open

Closes #1049

See merge request STJr/SRB2!2044
This commit is contained in:
sphere 2023-07-14 13:15:56 +00:00
commit 59685937da

View file

@ -4612,6 +4612,7 @@ void Command_ExitGame_f(void)
botskin = 0;
cv_debug = 0;
emeralds = 0;
automapactive = false;
memset(&luabanks, 0, sizeof(luabanks));
if (dirmenu)