1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Rename Peep::cash_in_pocket to CashInPocket

This commit is contained in:
Tulio Leao
2020-06-06 10:19:37 -03:00
parent 0fc7bd1afd
commit 77af2326ff
12 changed files with 27 additions and 28 deletions

View File

@@ -626,7 +626,7 @@ namespace OpenRCT2::Scripting
int32_t cash_get() const
{
auto peep = GetPeep();
return peep != nullptr ? peep->cash_in_pocket : 0;
return peep != nullptr ? peep->CashInPocket : 0;
}
void cash_set(int32_t value)
{
@@ -634,7 +634,7 @@ namespace OpenRCT2::Scripting
auto peep = GetPeep();
if (peep != nullptr)
{
peep->cash_in_pocket = std::max(0, value);
peep->CashInPocket = std::max(0, value);
}
}
};