diff options
author | dP <dp@dpointer.org> | 2021-09-25 14:39:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 13:39:40 +0200 |
commit | 39662aabefa851a153b66571a50fd4b78b83ced1 (patch) | |
tree | 9498197df55f57c9abb28234dd336f82f5b627bb /src/command.cpp | |
parent | 66c7d9b8ed9df8de1fc1e5b6c83808683bc6bbd2 (diff) | |
download | openttd-39662aabefa851a153b66571a50fd4b78b83ced1.tar.xz |
Add: allow gamescripts to build neutral objects (#9568)
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index 91cb12a28..7d1a72dec 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -225,7 +225,7 @@ static const Command _command_proc_table[] = { DEF_CMD(CmdBuildSingleSignal, CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_BUILD_SIGNALS DEF_CMD(CmdRemoveSingleSignal, CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_REMOVE_SIGNALS DEF_CMD(CmdTerraformLand, CMD_ALL_TILES | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_TERRAFORM_LAND - DEF_CMD(CmdBuildObject, CMD_NO_WATER | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_BUILD_OBJECT + DEF_CMD(CmdBuildObject, CMD_DEITY | CMD_NO_WATER | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_BUILD_OBJECT DEF_CMD(CmdBuildTunnel, CMD_DEITY | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_BUILD_TUNNEL DEF_CMD(CmdRemoveFromRailStation, 0, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_REMOVE_FROM_RAIL_STATION DEF_CMD(CmdConvertRail, 0, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_CONVERT_RAILD |