From b5ab3a10a2ecb3d7a9f53c50f204da837219ffab Mon Sep 17 00:00:00 2001 From: qndel Date: Mon, 10 Jul 2023 18:53:54 +0200 Subject: [PATCH] correct IsTileWalkable to mark tiles out of bounds as not walkable --- Source/engine/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/engine/path.cpp b/Source/engine/path.cpp index 47660bf53..5f2f4a974 100644 --- a/Source/engine/path.cpp +++ b/Source/engine/path.cpp @@ -340,7 +340,7 @@ bool IsTileWalkable(Point position, bool ignoreDoors) } } - return !IsTileSolid(position); + return IsTileNotSolid(position); } bool IsTileOccupied(Point position)