diff options
author | terkhen <terkhen@openttd.org> | 2010-08-02 21:07:23 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-08-02 21:07:23 +0000 |
commit | 7a6df202d0816db1e46c33949f99aed236e531b1 (patch) | |
tree | 3395506d65b1f54db511e97dd710e47200be4741 /src/command.cpp | |
parent | ca0751adb82094a3f7d0042f386f72f43b756575 (diff) | |
download | openttd-7a6df202d0816db1e46c33949f99aed236e531b1.tar.xz |
(svn r20323) -Codechange: Move Delete town code to a command.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index b24745bd4..068f8bf44 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -137,6 +137,7 @@ CommandProc CmdFoundTown; CommandProc CmdRenameTown; CommandProc CmdDoTownAction; CommandProc CmdExpandTown; +CommandProc CmdDeleteTown; CommandProc CmdChangeSetting; CommandProc CmdChangeCompanySetting; @@ -289,6 +290,7 @@ static const Command _command_proc_table[] = { 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(CmdDeleteTown, CMD_OFFLINE), // CMD_DELETE_TOWN DEF_CMD(CmdSellShip, 0), // CMD_SELL_SHIP DEF_CMD(CmdBuildShip, 0), // CMD_BUILD_SHIP |