diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 133ab0ed7..49608720b 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1472,7 +1472,7 @@ int npc_parse_warp(char *w1,char *w2,char *w3,char *w4) for(j=0;j<xs;j++) { if(map_getcell(m,x-xs/2+j,y-ys/2+i,CELL_CHKNOPASS)) continue; - map_setcell(m,x-xs/2+j,y-ys/2+i,CELL_SETTOUCH); + map_setcell(m,x-xs/2+j,y-ys/2+i,CELL_SETNPC); } } @@ -1700,7 +1700,7 @@ static int npc_parse_script(char *w1,char *w2,char *w3,char *w4,char *first_line for(j=0;j<xs;j++) { if(map_getcell(m,x-xs/2+j,y-ys/2+i,CELL_CHKNOPASS)) continue; - map_setcell(m,x-xs/2+j,y-ys/2+i,CELL_SETTOUCH); + map_setcell(m,x-xs/2+j,y-ys/2+i,CELL_SETNPC); } } } |