mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
[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:
parent
ceaac00453
commit
0b9d36b08d
5 changed files with 25 additions and 2 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue