mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 20:22:40 +00:00
Line special 11: block monsters for this line
This commit is contained in:
parent
90507126e4
commit
6070d14fa5
1 changed files with 2 additions and 1 deletions
|
|
@ -1635,7 +1635,8 @@ static boolean P_IsLineBlocking(const line_t *ld, const mobj_t *thing)
|
|||
(
|
||||
(ld->flags & ML_IMPASSABLE) || // block objects from moving through this linedef.
|
||||
(thing->player && !thing->player->spectator &&
|
||||
ld->flags & ML_BLOCKPLAYERS) // SRB2Kart: Only block players, not items
|
||||
ld->flags & ML_BLOCKPLAYERS) || // SRB2Kart: Only block players, not items
|
||||
((thing->flags & (MF_ENEMY|MF_BOSS)) && ld->special == 11) // case 11: block monsters only
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue