1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 01:22:25 +01:00

Fix replay snapshots comparing states with different ticks

This commit is contained in:
Matt
2021-01-22 15:35:16 +02:00
parent 20f959c833
commit 6034cef358
4 changed files with 18 additions and 20 deletions

View File

@@ -98,6 +98,8 @@ TEST_P(ReplayTests, RunReplay)
while (replayManager->IsReplaying())
{
gs->UpdateLogic();
if (replayManager->IsPlaybackStateMismatching())
break;
}
ASSERT_FALSE(replayManager->IsReplaying());
ASSERT_FALSE(replayManager->IsPlaybackStateMismatching());