Move Date to GameState_t

This commit is contained in:
Gymnasiast committed 2024-04-04 18:12:08 +02:00
1 parent 26d65b37ea
commit 1f1377a8ef
11 files changed
+34 -49

No files matched your search

+1 -1
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);