mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Merge branch 'jumphood' into 'master'
Jumphood See merge request STJr/SRB2Internal!573
This commit is contained in:
commit
cebd7df2fc
2 changed files with 2 additions and 1 deletions
|
|
@ -4692,7 +4692,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||||
S_ROBOHOOD_STAND, // seestate
|
S_ROBOHOOD_STAND, // seestate
|
||||||
sfx_None, // seesound
|
sfx_None, // seesound
|
||||||
TICRATE, // reactiontime
|
TICRATE, // reactiontime
|
||||||
sfx_None, // attacksound
|
sfx_ngjump, // attacksound
|
||||||
S_NULL, // painstate
|
S_NULL, // painstate
|
||||||
0, // painchance
|
0, // painchance
|
||||||
sfx_None, // painsound
|
sfx_None, // painsound
|
||||||
|
|
|
||||||
|
|
@ -1731,6 +1731,7 @@ void A_HoodThink(mobj_t *actor)
|
||||||
// Target dangerously close to robohood, retreat then.
|
// Target dangerously close to robohood, retreat then.
|
||||||
if ((dm < 256<<FRACBITS) && (abs(dz) < 128<<FRACBITS))
|
if ((dm < 256<<FRACBITS) && (abs(dz) < 128<<FRACBITS))
|
||||||
{
|
{
|
||||||
|
S_StartSound(actor, actor->info->attacksound);
|
||||||
P_SetMobjState(actor, actor->info->raisestate);
|
P_SetMobjState(actor, actor->info->raisestate);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue