1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +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

@@ -115,7 +115,7 @@ TEST_F(PlayTests, SecondGuestInQueueShouldNotRideIfNoFunds)
// Insert a rich guest
auto richGuest = gs->GetPark().GenerateGuest();
richGuest->cash_in_pocket = 3000;
richGuest->CashInPocket = 3000;
// Wait for rich guest to get in queue
bool matched = updateUntil(*gs, 1000, [&]() { return richGuest->state == PEEP_STATE_QUEUING; });
@@ -123,7 +123,7 @@ TEST_F(PlayTests, SecondGuestInQueueShouldNotRideIfNoFunds)
// Insert poor guest
auto poorGuest = gs->GetPark().GenerateGuest();
poorGuest->cash_in_pocket = 5;
poorGuest->CashInPocket = 5;
// Wait for poor guest to get in queue
matched = updateUntil(*gs, 1000, [&]() { return poorGuest->state == PEEP_STATE_QUEUING; });