From d9ba40b2662f2084b1a5763b6b85f0bd473e96b3 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Tue, 8 Apr 2025 08:51:13 +0200 Subject: [PATCH] Purge leftover references to SetClimate game command (#24104) * Purge leftover references to SetClimate game command * Bump network version --- src/openrct2/Game.h | 1 - src/openrct2/network/NetworkAction.cpp | 1 - src/openrct2/scripting/ScriptEngine.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/src/openrct2/Game.h b/src/openrct2/Game.h index 5c44fee7c3..68ef7e65df 100644 --- a/src/openrct2/Game.h +++ b/src/openrct2/Game.h @@ -95,7 +95,6 @@ enum class GameCommand : int32_t ModifyTile, EditScenarioOptions, PlacePeepSpawn, - SetClimate, SetColourScheme, SetStaffCostume, PlaceFootpathAddition, diff --git a/src/openrct2/network/NetworkAction.cpp b/src/openrct2/network/NetworkAction.cpp index ae7d2b1f3b..ce557c0d21 100644 --- a/src/openrct2/network/NetworkAction.cpp +++ b/src/openrct2/network/NetworkAction.cpp @@ -262,7 +262,6 @@ const std::array(NetworkPermission::Count)> N "PERMISSION_EDIT_SCENARIO_OPTIONS", { GameCommand::EditScenarioOptions, - GameCommand::SetClimate, }, }, }; diff --git a/src/openrct2/scripting/ScriptEngine.cpp b/src/openrct2/scripting/ScriptEngine.cpp index 32d0a59838..e9394789f7 100644 --- a/src/openrct2/scripting/ScriptEngine.cpp +++ b/src/openrct2/scripting/ScriptEngine.cpp @@ -1358,7 +1358,6 @@ const static EnumMap ActionNameToType = { { "bannersetname", GameCommand::SetBannerName }, { "bannersetstyle", GameCommand::SetBannerStyle }, { "clearscenery", GameCommand::ClearScenery }, - { "climateset", GameCommand::SetClimate }, { "footpathplace", GameCommand::PlacePath }, { "footpathlayoutplace", GameCommand::PlacePathLayout }, { "footpathremove", GameCommand::RemovePath },