mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add Hyudoro sounds
This commit is contained in:
parent
6b831a0fa2
commit
db6a8efdeb
2 changed files with 4 additions and 0 deletions
|
|
@ -338,6 +338,7 @@ void Obj_GiveEmerald(mobj_t *emerald)
|
|||
case MT_ITEMCAPSULE: // objects/hyudoro.c
|
||||
// DMG_INSTAKILL to kill it without respawning later
|
||||
P_KillMobj(emerald_award(emerald), emerald_orbit(emerald), emerald_orbit(emerald), DMG_INSTAKILL);
|
||||
S_StartSound(emerald_orbit(emerald), sfx_kc3e);
|
||||
|
||||
if (emerald_orbit(emerald)->player)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -581,6 +581,8 @@ hyudoro_patrol_hit_player
|
|||
|
||||
K_StripItems(player);
|
||||
|
||||
S_StartSound(toucher, sfx_s3k92);
|
||||
|
||||
/* do not make 1st place invisible */
|
||||
if (player->position != 1)
|
||||
{
|
||||
|
|
@ -653,6 +655,7 @@ hyudoro_return_hit_player
|
|||
// them until they use/lose it.
|
||||
if (!award_immediately(hyu))
|
||||
{
|
||||
S_StartSound(hyudoro_target(hyu), sfx_kc3d);
|
||||
hyudoro_mode(hyu) = HYU_HOVER;
|
||||
append_hyudoro(&toucher->player->hoverhyudoro, hyu);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue