diff options
author | yexo <yexo@openttd.org> | 2009-05-26 11:40:14 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-05-26 11:40:14 +0000 |
commit | a10e5f707a4dd893b5cf80faa189f669291a4906 (patch) | |
tree | b3d88922ca83a9ab23f903e1db4c40781f3137fe /src/command.cpp | |
parent | b19d0e0254883d0db9d8f3d01dacd94e0229f9ac (diff) | |
download | openttd-a10e5f707a4dd893b5cf80faa189f669291a4906.tar.xz |
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
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 2ad8e1416..85d1cfd4c 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -145,6 +145,7 @@ DEF_COMMAND(CmdRenameTown); DEF_COMMAND(CmdDoTownAction); DEF_COMMAND(CmdChangeSetting); +DEF_COMMAND(CmdChangeCompanySetting); DEF_COMMAND(CmdSellShip); DEF_COMMAND(CmdBuildShip); @@ -317,6 +318,7 @@ static const Command _command_proc_table[] = { {CmdGiveMoney, 0}, // CMD_GIVE_MONEY {CmdChangeSetting, CMD_SERVER}, // CMD_CHANGE_SETTING + {CmdChangeCompanySetting, 0}, // CMD_CHANGE_COMPANY_SETTING {CmdSetAutoReplace, 0}, // CMD_SET_AUTOREPLACE {CmdCloneVehicle, CMD_NO_TEST}, // CMD_CLONE_VEHICLE; NewGRF callbacks influence building and refitting making it impossible to correctly estimate the cost {CmdStartStopVehicle, 0}, // CMD_START_STOP_VEHICLE |