Immediately update UFO health hum

This commit is contained in:
AJ Martinez 2024-03-01 15:51:18 -07:00
parent f7f98ff6d1
commit a87e557e4e

View file

@ -960,6 +960,12 @@ boolean Obj_SpecialUFODamage(mobj_t *ufo, mobj_t *inflictor, mobj_t *source, UIN
S_StartSound(ufo, sfx_clawht);
S_StopSoundByID(ufo, sfx_clawzm);
for (int i = 0; i <= maxhum; i++)
{
S_StopSoundByID(ufo, hums[i]);
}
P_StartQuake(10, 64 * ufo->scale, 0, NULL);
return true;