1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Move Date to GameState_t

This commit is contained in:
Gymnasiast
2024-03-26 14:21:30 +01:00
parent 26d65b37ea
commit 1f1377a8ef
11 changed files with 34 additions and 49 deletions

View File

@@ -48,7 +48,7 @@ TEST(MultiLaunchTest, all)
auto gs = context->GetGameState();
ASSERT_NE(gs, nullptr);
auto& date = gs->GetDate();
auto& date = GetGameState().Date;
// NOTE: This value is saved in the SV6 file, after the import this will be the current state.
// In case the save file gets replaced this needs to be adjusted.
ASSERT_EQ(date.GetMonthTicks(), 0x1e98);