updated impossibleroute text to re-use invalid position text
This commit is contained in:
parent
354d8b5408
commit
43f4ba71a3
|
@ -656,7 +656,7 @@ TravelState RoutePlanner::findPathToLocation(Unit *unit, const Vec2i &finalPos)
|
|||
}
|
||||
if (res == hsrFailed) {
|
||||
if (unit->getFaction()->getThisFaction()) {
|
||||
world->getGame()->getConsole()->addLine(Lang::getInstance().get("ImpossibleRoute"));
|
||||
world->getGame()->getConsole()->addLine(Lang::getInstance().get("InvalidPosition"));
|
||||
//g_console.addLine("Can not reach destination.");
|
||||
}
|
||||
return tsImpossible;
|
||||
|
|
Loading…
Reference in New Issue