1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

Rename Peep::time_in_queue to TimeInQueue

This commit is contained in:
Tulio Leao
2020-06-06 10:54:40 -03:00
parent 3748cdb194
commit 8400a7f54d
8 changed files with 20 additions and 20 deletions

View File

@@ -1045,13 +1045,13 @@ static void staff_entertainer_update_nearby_peeps(Peep* peep)
}
else if (peep->state == PEEP_STATE_QUEUING)
{
if (peep->time_in_queue > 200)
if (peep->TimeInQueue > 200)
{
peep->time_in_queue -= 200;
peep->TimeInQueue -= 200;
}
else
{
peep->time_in_queue = 0;
peep->TimeInQueue = 0;
}
peep->happiness_target = std::min(peep->happiness_target + 3, PEEP_MAX_HAPPINESS);
}