1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Remove GameState class

This commit is contained in:
Gymnasiast
2024-03-26 15:08:17 +01:00
parent 28451027b1
commit fef1a27342
18 changed files with 306 additions and 359 deletions

View File

@@ -81,9 +81,6 @@ TEST_P(ReplayTests, RunReplay)
bool initialised = context->Initialise();
ASSERT_TRUE(initialised);
auto gs = context->GetGameState();
ASSERT_NE(gs, nullptr);
IReplayManager* replayManager = context->GetReplayManager();
ASSERT_NE(replayManager, nullptr);
@@ -92,7 +89,7 @@ TEST_P(ReplayTests, RunReplay)
while (replayManager->IsReplaying())
{
gs->UpdateLogic();
gameStateUpdateLogic();
if (replayManager->IsPlaybackStateMismatching())
break;
}