Selaa lähdekoodia

Follow up to 6fe0ed5

Thanks to @Daegaladh
Lemongrass3110 5 vuotta sitten
vanhempi
commit
1f63265a3b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/map/unit.cpp

+ 1 - 1
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)