From ce325e64531c8baf719aea465f7847b812ecc3f0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 30 Jan 2022 08:13:35 +0100 Subject: [PATCH] - disabled assert in FAFhitscan. There's maps out there which trigger this - so it should better be silenced, despite being a mapping error. --- source/games/sw/src/rooms.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/games/sw/src/rooms.cpp b/source/games/sw/src/rooms.cpp index 458f8edf0..b29789819 100644 --- a/source/games/sw/src/rooms.cpp +++ b/source/games/sw/src/rooms.cpp @@ -162,7 +162,8 @@ FAFhitscan(int32_t x, int32_t y, int32_t z, sectortype* sect, } else { - ASSERT(true == false); + //ASSERT(true == false); // some maps in SWC20 trigger this due to poor design. + return; } } }