mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 02:41:30 +00:00
[audio] Disable extra update for pull targets
This fixes a segfault that snuck in due to testsound not using S_ExgraUpdate.
This commit is contained in:
parent
02ff875cd6
commit
580464d6be
1 changed files with 5 additions and 3 deletions
|
@ -230,9 +230,11 @@ s_update (const vec3_t origin, const vec3_t forward, const vec3_t right,
|
|||
static void
|
||||
s_extra_update (void)
|
||||
{
|
||||
if (!sound_started || snd_noextraupdate->int_val)
|
||||
return; // don't pollute timings
|
||||
s_update_ ();
|
||||
if (snd_output_data->model == som_push) {
|
||||
if (!sound_started || snd_noextraupdate->int_val)
|
||||
return; // don't pollute timings
|
||||
s_update_ ();
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue