From 6b830d854178c46f7f70a6f68a755612000f5294 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 2 Aug 2025 16:58:08 -0500 Subject: [PATCH] WIP fix loc_off_act_area --- src/game/boe.locutils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/boe.locutils.cpp b/src/game/boe.locutils.cpp index 259a4d3f..061a9015 100644 --- a/src/game/boe.locutils.cpp +++ b/src/game/boe.locutils.cpp @@ -138,6 +138,7 @@ bool loc_off_world(location p1) { } bool loc_off_act_area(location p1) { + if(is_out()) return false; // How should this check be handled? if((p1.x > univ.town->in_town_rect.left) && (p1.x < univ.town->in_town_rect.right) && (p1.y > univ.town->in_town_rect.top) && (p1.y < univ.town->in_town_rect.bottom)) return false;