feat: show taxi flight destination indicator below minimap

Stores the destination node name when activateTaxi() is called and
displays a "✈ → <Destination>" indicator in the minimap indicator
stack while isOnTaxiFlight() is true. Falls back to "✈ In Flight"
when the destination name is unavailable.
This commit is contained in:
Kelsi 2026-03-13 09:44:27 -07:00
parent f5a834b543
commit d58c2f4269
3 changed files with 26 additions and 2 deletions

View file

@ -20759,10 +20759,13 @@ void GameHandler::activateTaxi(uint32_t destNodeId) {
{
auto destIt = taxiNodes_.find(destNodeId);
if (destIt != taxiNodes_.end() && !destIt->second.name.empty())
if (destIt != taxiNodes_.end() && !destIt->second.name.empty()) {
taxiDestName_ = destIt->second.name;
addSystemChatMessage("Requesting flight to " + destIt->second.name + "...");
else
} else {
taxiDestName_.clear();
addSystemChatMessage("Taxi: requesting flight...");
}
}
// BFS to find path from startNode to destNodeId