summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 9a6a5ff51..0636bc797 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2544,6 +2544,8 @@ static const char* npc_parse_mapcell(char* w1, char* w2, char* w3, char* w4, con
for( x = x0; x <= x1; ++x )
for( y = y0; y <= y1; ++y )
+ if (map_getcell(m, x, y, CELL_CHKNOREACH))
+ continue;
map_setcell(m, x, y, cell);
return strchr(start,'\n');// continue