浏览代码

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;