[nq] Fix some level change segfaults

I really need to play more while working on the code.

Anyway, ca_active works nicely for the status bar in general, and
CL_ClearMemory needs to be called before Host_ClearMemory when doing
single-player.
This commit is contained in:
Bill Currie 2022-05-16 20:51:37 +09:00
parent ceaac00453
commit 0b9d36b08d
5 changed files with 25 additions and 2 deletions

View file

@ -625,6 +625,8 @@ CL_Init (cbuf_t *cbuf)
if (!colormap)
Sys_Error ("Couldn't load gfx/colormap.lmp");
Host_OnServerSpawn (CL_ClearMemory);
W_LoadWadFile ("gfx.wad");
VID_Init (basepal, colormap);
IN_Init ();