mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-21 03:01:15 +00:00
[qw] Use SCR_NewScene instead of R_ClearState
This is the same issue as in nq, but I'd entirely forgotten to do qw. I imagine similar segfaults would have occurred.
This commit is contained in:
parent
4515b0d7f0
commit
ad8599574a
1 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ CL_ClearState (void)
|
|||
CL_Init_Entity (cl.viewstate.weapon_entity);
|
||||
r_data->view_model = cl.viewstate.weapon_entity;
|
||||
|
||||
r_funcs->R_ClearState ();
|
||||
SCR_NewScene (0);
|
||||
|
||||
SZ_Clear (&cls.netchan.message);
|
||||
|
||||
|
@ -1434,7 +1434,7 @@ CL_SetState (cactive_t state)
|
|||
if (cl_autorecord && cls.demorecording)
|
||||
CL_StopRecording ();
|
||||
|
||||
r_funcs->R_ClearState ();
|
||||
SCR_NewScene (0);
|
||||
} else if (state == ca_active) {
|
||||
// entering active state
|
||||
VID_SetCaption (cls.servername->str);
|
||||
|
|
Loading…
Reference in a new issue