mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Fix player shadows while on rope hangs etc
This commit is contained in:
parent
27bd7e4a7f
commit
4e5f49c60d
1 changed files with 4 additions and 0 deletions
|
@ -3902,11 +3902,15 @@ static void P_PlayerMobjThinker(mobj_t *mobj)
|
||||||
mobj->z += mobj->momz;
|
mobj->z += mobj->momz;
|
||||||
P_SetThingPosition(mobj);
|
P_SetThingPosition(mobj);
|
||||||
P_CheckPosition(mobj, mobj->x, mobj->y);
|
P_CheckPosition(mobj, mobj->x, mobj->y);
|
||||||
|
mobj->floorz = tmfloorz;
|
||||||
|
mobj->ceilingz = tmceilingz;
|
||||||
goto animonly;
|
goto animonly;
|
||||||
}
|
}
|
||||||
else if (mobj->player->powers[pw_carry] == CR_MACESPIN)
|
else if (mobj->player->powers[pw_carry] == CR_MACESPIN)
|
||||||
{
|
{
|
||||||
P_CheckPosition(mobj, mobj->x, mobj->y);
|
P_CheckPosition(mobj, mobj->x, mobj->y);
|
||||||
|
mobj->floorz = tmfloorz;
|
||||||
|
mobj->ceilingz = tmceilingz;
|
||||||
goto animonly;
|
goto animonly;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue