mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Immediately update UFO health hum
This commit is contained in:
parent
f7f98ff6d1
commit
a87e557e4e
1 changed files with 6 additions and 0 deletions
|
|
@ -960,6 +960,12 @@ boolean Obj_SpecialUFODamage(mobj_t *ufo, mobj_t *inflictor, mobj_t *source, UIN
|
||||||
|
|
||||||
S_StartSound(ufo, sfx_clawht);
|
S_StartSound(ufo, sfx_clawht);
|
||||||
S_StopSoundByID(ufo, sfx_clawzm);
|
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);
|
P_StartQuake(10, 64 * ufo->scale, 0, NULL);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue