WIP fix loc_off_act_area

This commit is contained in:
2025-08-02 16:58:08 -05:00
parent b5b1d3fb1a
commit 6b830d8541

View File

@@ -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;