don't try to move_unit() when we got no path
This commit is contained in:
parent
2e0deae49b
commit
ffd670c459
1 changed files with 1 additions and 1 deletions
|
@ -1024,7 +1024,7 @@ namespace {
|
|||
|
||||
src = dst;
|
||||
}
|
||||
unit_display::move_unit(path, dummy_unit, *teams);
|
||||
if (!path.empty()) unit_display::move_unit(path, dummy_unit, *teams);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue