mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed solid objects (such as Minus-carried TNT barrels) not colliding with players.
Springs and gas jets are exempt because all hell might break loose otherwise.
This commit is contained in:
parent
70c0763840
commit
62b244148a
1 changed files with 2 additions and 2 deletions
|
|
@ -1561,8 +1561,8 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!tmthing->player) && (thing->player))
|
if ((thing->flags & MF_SPRING || thing->type == MT_STEAM) && (thing->player))
|
||||||
; // no solid thing should ever be able to step up onto a player
|
; // springs and gas jets should never be able to step up onto a player
|
||||||
// z checking at last
|
// z checking at last
|
||||||
// Treat noclip things as non-solid!
|
// Treat noclip things as non-solid!
|
||||||
else if ((thing->flags & (MF_SOLID|MF_NOCLIP)) == MF_SOLID
|
else if ((thing->flags & (MF_SOLID|MF_NOCLIP)) == MF_SOLID
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue