From 1f63265a3bc76b4aac4d9e325f1f31efd8b0af56 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Thu, 9 Apr 2020 21:51:33 +0200 Subject: [PATCH] Follow up to 6fe0ed5 Thanks to @Daegaladh --- src/map/unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/unit.cpp b/src/map/unit.cpp index 1cb7cbf673..cb6a209a4c 100644 --- a/src/map/unit.cpp +++ b/src/map/unit.cpp @@ -126,8 +126,8 @@ int unit_walktoxy_sub(struct block_list *bl) else if( bl->type == BL_NPC && pcdb_checkid( status_get_viewdata( bl )->class_ ) ){ // Respawn the NPC as player unit unit_refresh( bl, true ); -#endif } +#endif clif_move(ud); if(ud->walkpath.path_pos>=ud->walkpath.path_len)