1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Move gConstructionRightsPrice to GameState_t (#21467)

* Move gConstructionRightsPrice to GameState_t

* Add OpenRCT2 namespace
This commit is contained in:
Harry Hopkinson
2024-02-27 20:20:11 +00:00
committed by GitHub
parent b2639add4c
commit 57a4c83f80
11 changed files with 20 additions and 17 deletions

View File

@@ -673,7 +673,8 @@ static int32_t ConsoleCommandGet(InteractiveConsole& console, const arguments_t&
else if (argv[0] == "construction_rights_cost")
{
console.WriteFormatLine(
"construction_rights_cost %d.%d0", gConstructionRightsPrice / 10, gConstructionRightsPrice % 10);
"construction_rights_cost %d.%d0", gameState.ConstructionRightsPrice / 10,
gameState.ConstructionRightsPrice % 10);
}
else if (argv[0] == "climate")
{