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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 0636bc797..c65997d39 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2543,10 +2543,11 @@ static const char* npc_parse_mapcell(char* w1, char* w2, char* w3, char* w4, con
swap(y0, y1);
for( x = x0; x <= x1; ++x )
- for( y = y0; y <= y1; ++y )
+ 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
}