mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Fix exchanging station names for stations with name from nearby industry
This commit is contained in:
parent
a3b941953d
commit
1c618989d1
@ -4869,6 +4869,7 @@ CommandCost CmdExchangeStationNames(TileIndex tile, DoCommandFlag flags, uint32_
|
||||
st2->cached_name.clear();
|
||||
std::swap(st->name, st2->name);
|
||||
std::swap(st->string_id, st2->string_id);
|
||||
std::swap(st->indtype, st2->indtype);
|
||||
std::swap(st->extra_name_index, st2->extra_name_index);
|
||||
st->UpdateVirtCoord();
|
||||
st2->UpdateVirtCoord();
|
||||
|
Loading…
Reference in New Issue
Block a user