diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index cf71ff6..b44351a 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -4105,8 +4105,10 @@ ATCE atcommand_npcmove(Session *, dumb_ptr<map_session_data>, return ATCE::EXIST; npc_enable(character, 0); + map_delblock(nd); nd->bl_x = x; nd->bl_y = y; + map_addblock(nd); npc_enable(character, 1); return ATCE::OKAY; |