possibly fix ingame menu cursor sound not playing while shooting
This commit is contained in:
parent
be65fcda51
commit
ffcb2aff9e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static void play_sound_internal(const char *name, bool is_ui, int cooldown, bool
|
|||
|
||||
Sound *snd = get_sound(name);
|
||||
|
||||
if(!snd || (!is_ui && snd->lastplayframe + 3 + cooldown >= global.frames) || snd->islooping) {
|
||||
if(!snd || (!is_ui && snd->lastplayframe + 3 + cooldown >= global.frames)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue