mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove step-down change
This commit is contained in:
parent
bc538a066f
commit
1eb1309032
1 changed files with 6 additions and 7 deletions
13
src/p_map.c
13
src/p_map.c
|
|
@ -2463,11 +2463,6 @@ fixed_t P_GetThingStepUp(mobj_t *thing)
|
|||
const fixed_t maxstepmove = P_BaseStepUp();
|
||||
fixed_t maxstep = maxstepmove;
|
||||
|
||||
if (thing->player && thing->player->fastfall != 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (P_WaterStepUp(thing) == true)
|
||||
{
|
||||
// Add some extra stepmove when waterskipping
|
||||
|
|
@ -2524,16 +2519,20 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff)
|
|||
#endif
|
||||
|
||||
do {
|
||||
if (thing->flags & MF_NOCLIP) {
|
||||
if (thing->flags & MF_NOCLIP)
|
||||
{
|
||||
tryx = x;
|
||||
tryy = y;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
if (x-tryx > radius)
|
||||
tryx += radius;
|
||||
else if (x-tryx < -radius)
|
||||
tryx -= radius;
|
||||
else
|
||||
tryx = x;
|
||||
|
||||
if (y-tryy > radius)
|
||||
tryy += radius;
|
||||
else if (y-tryy < -radius)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue