mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Pass game state ref as parameter to game actions (#25065)
This commit is contained in:
@@ -1016,7 +1016,7 @@ static void FootpathFixOwnership(const CoordsXY& mapPos)
|
||||
auto landSetRightsAction = GameActions::LandSetRightsAction(
|
||||
mapPos, GameActions::LandSetRightSetting::SetOwnershipWithChecks, ownership);
|
||||
landSetRightsAction.SetFlags(GAME_COMMAND_FLAG_NO_SPEND);
|
||||
GameActions::Execute(&landSetRightsAction);
|
||||
GameActions::Execute(&landSetRightsAction, getGameState());
|
||||
}
|
||||
|
||||
static bool GetNextDirection(uint32_t edges, int32_t* direction)
|
||||
|
||||
Reference in New Issue
Block a user