mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix player shadows while on rope hangs etc
This commit is contained in:
parent
ad9bec06e6
commit
d5b0ba7659
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…
Add table
Reference in a new issue