(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.

This commit is contained in:
yexo
2009-05-26 11:40:14 +00:00
parent b19d0e0254
commit a10e5f707a
7 changed files with 95 additions and 36 deletions

View File

@@ -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