summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-08-02 21:06:06 +0000
committerterkhen <terkhen@openttd.org>2010-08-02 21:06:06 +0000
commitca0751adb82094a3f7d0042f386f72f43b756575 (patch)
treecc120ec01aa7d7503c771157794a95594329af21 /src/command.cpp
parentf2edc728e6c8d8b74226058ab5842ef60bf34592 (diff)
downloadopenttd-ca0751adb82094a3f7d0042f386f72f43b756575.tar.xz
(svn r20322) -Codechange: Move Expand town code to a command.
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index ab5d29764..b24745bd4 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -134,9 +134,9 @@ CommandProc CmdSellShareInCompany;
CommandProc CmdBuyCompany;
CommandProc CmdFoundTown;
-
CommandProc CmdRenameTown;
CommandProc CmdDoTownAction;
+CommandProc CmdExpandTown;
CommandProc CmdChangeSetting;
CommandProc CmdChangeCompanySetting;
@@ -288,6 +288,7 @@ static const Command _command_proc_table[] = {
DEF_CMD(CmdFoundTown, CMD_NO_TEST), // CMD_FOUND_TOWN; founding random town can fail only in exec run
DEF_CMD(CmdRenameTown, CMD_SERVER), // CMD_RENAME_TOWN
DEF_CMD(CmdDoTownAction, 0), // CMD_DO_TOWN_ACTION
+ DEF_CMD(CmdExpandTown, CMD_OFFLINE), // CMD_EXPAND_TOWN
DEF_CMD(CmdSellShip, 0), // CMD_SELL_SHIP
DEF_CMD(CmdBuildShip, 0), // CMD_BUILD_SHIP