From 94f37bde304d9636b009ec478e127c0c0a0aa7f6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 28 Feb 2016 14:03:57 +0100 Subject: [PATCH] - Forgot changing two comparisons when cleaning up the if statement in FindRefPoint. --- src/p_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index d1878162f..7f66fd2d4 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -173,9 +173,9 @@ static inline fixedvec2 FindRefPoint(line_t *ld, fixedvec2 pos) (ld->frontsector->ceilingplane.a | ld->frontsector->ceilingplane.b) | (ld->backsector->ceilingplane.a | ld->backsector->ceilingplane.b)) != 0) || - ld->backsector->e->XFloor.ffloors.Size() == 0 + ld->backsector->e->XFloor.ffloors.Size() != 0 || - ld->frontsector->e->XFloor.ffloors.Size() == 0 + ld->frontsector->e->XFloor.ffloors.Size() != 0 || !ld->frontsector->PortalBlocksMovement(sector_t::floor)) {