1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Move gExpenditureTable to GameState_t

This commit is contained in:
Harry Hopkinson
2024-03-04 14:24:29 +00:00
committed by GitHub
parent 4b6ba80a46
commit 9748038815
8 changed files with 19 additions and 20 deletions

View File

@@ -832,7 +832,7 @@ namespace OpenRCT2
{
for (uint32_t j = 0; j < numTypes; j++)
{
gExpenditureTable[i][j] = cs.Read<money64>();
gameState.ExpenditureTable[i][j] = cs.Read<money64>();
}
}
}
@@ -847,7 +847,7 @@ namespace OpenRCT2
{
for (uint32_t j = 0; j < numTypes; j++)
{
cs.Write(gExpenditureTable[i][j]);
cs.Write(gameState.ExpenditureTable[i][j]);
}
}
}