Line special 11: block monsters for this line

This commit is contained in:
James R 2021-01-04 17:40:06 -08:00
parent 90507126e4
commit 6070d14fa5

View file

@ -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
);
}
}