don't try to move_unit() when we got no path

This commit is contained in:
Gunter Labes 2009-03-31 03:07:44 +00:00
parent 2e0deae49b
commit ffd670c459

View file

@ -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);
}
}