1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Pass game state ref as parameter to game actions (#25065)

This commit is contained in:
Aaron van Geffen
2025-09-08 16:21:29 +02:00
committed by GitHub
parent 3e10c20792
commit 4446ff9f6f
227 changed files with 927 additions and 848 deletions

View File

@@ -83,7 +83,7 @@ template<class GA, class... Args>
static void execute(Args&&... args)
{
GA ga(std::forward<Args>(args)...);
GameActions::Execute(&ga);
GameActions::Execute(&ga, getGameState());
}
TEST_F(PlayTests, SecondGuestInQueueShouldNotRideIfNoFunds)