SetCheatAction has wrong ID in plugin API

This commit is contained in:
Stephan Spengler 2023-04-18 13:23:44 +02:00 committed by GitHub
parent c0660f00ba
commit 2fd3eb47e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
- Fix: [#19901] Random shop colours never assigning last colour.
- Fix: [#19924] Destructible cheat does not allow partial ride modification.
- Fix: [#19950] Mine train block brake supports drawn incorrectly.
- Fix: [#19987] [Plugin] SetCheatAction has wrong ID in plugin API.
0.4.4 (2023-03-28)
------------------------------------------------------------------------

View File

@ -1347,7 +1347,7 @@ const static EnumMap<GameCommand> ActionNameToType = {
{ "ridesetstatus", GameCommand::SetRideStatus },
{ "ridesetvehicle", GameCommand::SetRideVehicles },
{ "scenariosetsetting", GameCommand::EditScenarioOptions },
{ "setcheat", GameCommand::Cheat },
{ "cheatset", GameCommand::Cheat },
{ "signsetname", GameCommand::SetSignName },
{ "signsetstyle", GameCommand::SetSignStyle },
{ "smallsceneryplace", GameCommand::PlaceScenery },

View File

@ -47,7 +47,7 @@ namespace OpenRCT2
namespace OpenRCT2::Scripting
{
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 73;
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 74;
// Versions marking breaking changes.
static constexpr int32_t API_VERSION_33_PEEP_DEPRECATION = 33;