mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Fix the missing health pickup sound on aerowalk.
Caused by an out-by-one error thanks to the insane way the sound list is built. Came about when doing the model/sound list sanitation during the GLSL project, but this one was sneakier as it resulted only in a missing sound rather than a segfault.
This commit is contained in:
parent
9b3f3905b5
commit
bcc1de3b84
1 changed files with 1 additions and 0 deletions
|
@ -870,6 +870,7 @@ CL_ParseSoundlist (void)
|
|||
Host_Error ("Server sent too many sound_precache");
|
||||
strcpy (cl.sound_name[cl.numsounds], str);
|
||||
}
|
||||
cl.numsounds++;
|
||||
|
||||
n = MSG_ReadByte (net_message);
|
||||
|
||||
|
|
Loading…
Reference in a new issue