mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
Merge branch 'instant-ufo-sound-update' into 'master'
UFO sound fixups See merge request KartKrew/Kart!1979
This commit is contained in:
commit
9d00cd4851
1 changed files with 9 additions and 0 deletions
|
|
@ -951,6 +951,7 @@ boolean Obj_SpecialUFODamage(mobj_t *ufo, mobj_t *inflictor, mobj_t *source, UIN
|
||||||
ACS_RunCatcherScript(source);
|
ACS_RunCatcherScript(source);
|
||||||
|
|
||||||
S_StopSound(ufo);
|
S_StopSound(ufo);
|
||||||
|
S_StartSound(ufo, sfx_gbrk);
|
||||||
S_StartSound(ufo, sfx_clawk2);
|
S_StartSound(ufo, sfx_clawk2);
|
||||||
P_StartQuake(20, 64 * ufo->scale, 0, NULL);
|
P_StartQuake(20, 64 * ufo->scale, 0, NULL);
|
||||||
|
|
||||||
|
|
@ -960,6 +961,14 @@ 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]);
|
||||||
|
}
|
||||||
|
|
||||||
|
UFOUpdateSound(ufo);
|
||||||
|
|
||||||
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