Fix bad loop on UFO pinch hit hums

This commit is contained in:
AJ Martinez 2023-01-18 02:59:46 -07:00
parent 5837f983e8
commit eebce28b7e

View file

@ -418,7 +418,7 @@ static void UFOEmeraldVFX(mobj_t *ufo)
static boolean UFOHumPlaying(mobj_t *ufo) { static boolean UFOHumPlaying(mobj_t *ufo) {
INT32 i; INT32 i;
for (i = 0; i < 15; i++) for (i = 0; i <= 15; i++)
{ {
if (S_SoundPlaying(ufo, hums[i])) if (S_SoundPlaying(ufo, hums[i]))
return true; return true;