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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user