summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index ad76f5145..fc6c5c578 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -420,7 +420,6 @@ int unit_warp(struct block_list *bl,int m,int x,int y,int type)
if (x<0 || y<0)
{ //Random map position.
-
if (!map_search_freecell(NULL, m, &x, &y, -1, -1, 1)) {
if(battle_config.error_log)
ShowWarning("unit_warp failed. Unit Id:%d/Type:%d, target position map %d (%s) at [%d,%d]\n", bl->id, bl->type, m, map[m].name, x, y);