mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 19:01:53 +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 (res == hsrFailed) {
|
||||||
if (unit->getFaction()->getThisFaction()) {
|
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.");
|
//g_console.addLine("Can not reach destination.");
|
||||||
}
|
}
|
||||||
return tsImpossible;
|
return tsImpossible;
|
||||||
|
Reference in New Issue
Block a user