summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index adc9d36..84cf944 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6875,8 +6875,10 @@ int buildin_npcwarp (struct script_state *st)
return -1;
npc_enable (npc, 0);
+ map_delblock(&nd->bl); /* [Freeyorp] */
nd->bl.x = x;
nd->bl.y = y;
+ map_addblock(&nd->bl);
npc_enable (npc, 1);
return 0;