summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 3d14637..dbb54d6 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -327,6 +327,11 @@ void map_foreachinarea(std::function<void(dumb_ptr<block_list>)> func,
{
std::vector<dumb_ptr<block_list>> bl_list;
+ // there are some broadcasts during startup
+ // disable then
+ if (m == borrow(undefined_gat))
+ abort();
+
if (x0 < 0)
x0 = 0;
if (y0 < 0)