mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix standalone hangable chains being broken, thanks to toaster.
This commit is contained in:
parent
2cc129c5c0
commit
26fed77671
2 changed files with 3 additions and 4 deletions
|
@ -11158,7 +11158,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
},
|
||||
|
||||
{ // MT_SMALLGRABCHAIN
|
||||
-1, // doomednum
|
||||
1132, // doomednum
|
||||
S_SMALLGRABCHAIN, // spawnstate
|
||||
1000, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
|
@ -11185,7 +11185,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
},
|
||||
|
||||
{ // MT_BIGGRABCHAIN
|
||||
-1, // doomednum
|
||||
1133, // doomednum
|
||||
S_BIGGRABCHAIN, // spawnstate
|
||||
1000, // spawnhealth
|
||||
S_NULL, // seestate
|
||||
|
|
|
@ -4345,7 +4345,6 @@ void P_DoJump(player_t *player, boolean soundandstate)
|
|||
{
|
||||
player->mo->momz = 9*FRACUNIT;
|
||||
player->powers[pw_carry] = CR_NONE;
|
||||
player->mo->tracer->flags |= MF_PUSHABLE;
|
||||
P_SetTarget(&player->mo->tracer->target, NULL);
|
||||
P_SetTarget(&player->mo->tracer, NULL);
|
||||
}
|
||||
|
@ -12057,7 +12056,7 @@ void P_PlayerAfterThink(player_t *player)
|
|||
mo->momx = rock->momx;
|
||||
mo->momy = rock->momy;
|
||||
mo->momz = 0;
|
||||
|
||||
|
||||
if (player->panim == PA_IDLE && (mo->momx || mo->momy))
|
||||
{
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_WALK);
|
||||
|
|
Loading…
Reference in a new issue