Browse Source

Follow up to 80a6932
* Fixed a compile error.

aleos 7 năm trước cách đây
mục cha
commit
e1a8f0b7ef
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      src/map/unit.c

+ 0 - 3
src/map/unit.c

@@ -2392,9 +2392,6 @@ int unit_calc_pos(struct block_list *bl, int tx, int ty)
 
 	nullpo_ret(ud);
 
-	if(dir > 7)
-		return 1;
-
 	ud->to_x = tx;
 	ud->to_y = ty;