From d2c8a86bb4cea45d7e5c280f25ea06d2fd5f457c Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 11 Feb 2012 01:17:09 +0000 Subject: [PATCH] - Fixed: CheckMobjBlocking() did not consider one-sided lines without the ML_BLOCKING flag to be blocking. SVN r3353 (trunk) --- src/po_man.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/po_man.cpp b/src/po_man.cpp index 8a18269e4..d5219e51c 100644 --- a/src/po_man.cpp +++ b/src/po_man.cpp @@ -1295,7 +1295,8 @@ bool FPolyObj::CheckMobjBlocking (side_t *sd) fixed_t top = -INT_MAX, bottom = INT_MAX; bool above; // [TN] Check wether this actor gets blocked by the line. - if(!(ld->flags & (ML_BLOCKING|ML_BLOCKEVERYTHING)) + if (ld->backsector != NULL && + !(ld->flags & (ML_BLOCKING|ML_BLOCKEVERYTHING)) && !(ld->flags & ML_BLOCK_PLAYERS && mobj->player) && !(ld->flags & ML_BLOCKMONSTERS && mobj->flags3 & MF3_ISMONSTER) && !((mobj->flags & MF_FLOAT) && (ld->flags & ML_BLOCK_FLOATERS))