Allow exchanging a station's name with another station in the same town

This commit is contained in:
Jonathan G Rennison
2023-04-11 19:22:15 +01:00
parent 07f2984d06
commit 87fabe99df
5 changed files with 96 additions and 1 deletions

View File

@@ -140,6 +140,7 @@ CommandProc CmdRenamePresident;
CommandProc CmdRenameStation;
CommandProc CmdRenameDepot;
CommandProc CmdExchangeStationNames;
CommandProc CmdSetStationCargoAllowedSupply;
CommandProc CmdPlaceSign;
@@ -397,6 +398,7 @@ static const Command _command_proc_table[] = {
DEF_CMD(CmdRenameStation, 0, CMDT_OTHER_MANAGEMENT ), // CMD_RENAME_STATION
DEF_CMD(CmdRenameDepot, 0, CMDT_OTHER_MANAGEMENT ), // CMD_RENAME_DEPOT
DEF_CMD(CmdExchangeStationNames, 0, CMDT_OTHER_MANAGEMENT ), // CMD_EXCHANGE_STATION_NAMES
DEF_CMD(CmdSetStationCargoAllowedSupply, 0, CMDT_OTHER_MANAGEMENT ), // CMD_SET_STATION_CARGO_ALLOWED_SUPPLY
DEF_CMD(CmdPlaceSign, CMD_LOG_AUX | CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_PLACE_SIGN