mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +01:00
Remove GameState class
This commit is contained in:
@@ -45,8 +45,6 @@ TEST(MultiLaunchTest, all)
|
||||
|
||||
// Check ride count to check load was successful
|
||||
ASSERT_EQ(RideGetCount(), 134);
|
||||
auto gs = context->GetGameState();
|
||||
ASSERT_NE(gs, nullptr);
|
||||
|
||||
auto& date = GetGameState().Date;
|
||||
// NOTE: This value is saved in the SV6 file, after the import this will be the current state.
|
||||
@@ -55,7 +53,7 @@ TEST(MultiLaunchTest, all)
|
||||
|
||||
for (int j = 0; j < updatesToTest; j++)
|
||||
{
|
||||
gs->UpdateLogic();
|
||||
gameStateUpdateLogic();
|
||||
}
|
||||
|
||||
ASSERT_EQ(date.GetMonthTicks(), 7862 + updatesToTest);
|
||||
|
||||
Reference in New Issue
Block a user