Преглед изворни кода

Follow up to 80a6932
* Fixed a compile error.

aleos пре 7 година
родитељ
комит
e1a8f0b7ef
1 измењених фајлова са 0 додато и 3 уклоњено
  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;