possibly fix ingame menu cursor sound not playing while shooting

This commit is contained in:
laochailan 2018-07-29 16:39:33 +02:00
parent be65fcda51
commit ffcb2aff9e
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943

View file

@ -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;
}