shithub: qk1

Download patch

ref: ba6ad8ddabdf363f0053ce859d59b6ff097d880d
parent: 8b1ca987787bf2ee8623f7f1f6f16793e9efa121
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Nov 7 20:05:01 EST 2023

CL_ClearState: reset cl_numvisedicts as well

--- a/cl_main.c
+++ b/cl_main.c
@@ -56,6 +56,7 @@
 	memset(cl_lightstyle, 0, sizeof cl_lightstyle);
 	memset(cl_dlights, 0, sizeof cl_dlights);
 	memset(cl_beams, 0, sizeof cl_beams);
+	cl_numvisedicts = 0;
 
 //
 // allocate the efrags and chain together into a free list