mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 18:36:48 +02:00
updated impossibleroute text to re-use invalid position text
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user