From 305b4c6bc5f4e57ade78ada770626fdade5bfb39 Mon Sep 17 00:00:00 2001 From: Taylor Oxelgren Date: Tue, 30 Jun 2026 01:59:43 -0500 Subject: [PATCH] Patched performance bug in quickload behaviour --- codeJK2/cgame/cg_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeJK2/cgame/cg_main.cpp b/codeJK2/cgame/cg_main.cpp index 9be003e9a9..f10dc38cf5 100644 --- a/codeJK2/cgame/cg_main.cpp +++ b/codeJK2/cgame/cg_main.cpp @@ -752,7 +752,7 @@ static void CG_RegisterSounds( void ) { if ( soundName[0] == '*' ) { continue; // custom sound } - if (i&31) { + if ((i & 31) == 0 ) { CG_LoadingString( soundName ); } cgs.sound_precache[i] = cgi_S_RegisterSound( soundName );