mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- let non-solid teleporting actors not actually telefrag.
Since they are non-solid they may just be allowed to teleport, even when a monster or player is in the way.
This commit is contained in:
parent
c3dc84297e
commit
2ffb447f9e
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ bool P_TeleportMove(AActor* thing, const DVector3 &pos, bool telefrag, bool modi
|
|||
continue;
|
||||
|
||||
// Don't let players and monsters block item teleports (all other actor types will still block.)
|
||||
if (thing->IsKindOf(NAME_Inventory) && !(thing->flags & MF_SOLID) && ((th->flags3 & MF3_ISMONSTER) || th->player != nullptr))
|
||||
if ((thing->IsKindOf(NAME_Inventory) || (thing->flags2 & MF2_TELESTOMP)) && !(thing->flags & MF_SOLID) && ((th->flags3 & MF3_ISMONSTER) || th->player != nullptr))
|
||||
continue;
|
||||
|
||||
// monsters don't stomp things except on boss level
|
||||
|
|
Loading…
Reference in a new issue