Browse Source

Follow up to 80a6932
* Fixed a compile error.

aleos 7 years ago
parent
commit
e1a8f0b7ef
1 changed files with 0 additions and 3 deletions
  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;