- added MF6_NOTELESTOMP flag that prevents an actor from telefragging under all possible circumstances.
This commit is contained in:
parent
f2c250d35d
commit
44a1b94ad9
3 changed files with 6 additions and 5 deletions
|
|
@ -334,8 +334,7 @@ bool P_TeleportMove (AActor *thing, fixed_t x, fixed_t y, fixed_t z, bool telefr
|
|||
|
||||
spechit.Clear ();
|
||||
|
||||
bool StompAlwaysFrags = (thing->flags2 & MF2_TELESTOMP) ||
|
||||
(level.flags & LEVEL_MONSTERSTELEFRAG) || telefrag;
|
||||
bool StompAlwaysFrags = ((thing->flags2 & MF2_TELESTOMP) || (level.flags & LEVEL_MONSTERSTELEFRAG) || telefrag) && !(thing->flags6 & MF6_NOTELESTOMP);
|
||||
|
||||
FBoundingBox box(x, y, thing->radius);
|
||||
FBlockLinesIterator it(box);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue