mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Make review changes
This commit is contained in:
@@ -686,9 +686,7 @@ private:
|
||||
}
|
||||
|
||||
Peep* peep;
|
||||
uint16_t sprite_index;
|
||||
|
||||
FOR_ALL_GUESTS (sprite_index, peep)
|
||||
FOR_ALL_GUESTS (spriteIndex, peep)
|
||||
{
|
||||
peep->Remove();
|
||||
}
|
||||
|
||||
@@ -412,8 +412,6 @@ void peep_update_all()
|
||||
return;
|
||||
FOR_ALL_PEEPS (spriteIndex, peep)
|
||||
{
|
||||
peep = &(get_sprite(spriteIndex)->peep);
|
||||
|
||||
if ((uint32_t)(i & 0x7F) != (gCurrentTicks & 0x7F))
|
||||
{
|
||||
peep->Update();
|
||||
|
||||
@@ -155,9 +155,7 @@ void staff_update_greyed_patrol_areas()
|
||||
|
||||
FOR_ALL_STAFF (sprite_index, peep)
|
||||
{
|
||||
peep = GET_PEEP(sprite_index);
|
||||
|
||||
if (peep->type == PEEP_TYPE_STAFF && staff_type == peep->staff_type)
|
||||
if (peep->staff_type == staff_type)
|
||||
{
|
||||
int32_t peepPatrolOffset = peep->staff_id * STAFF_PATROL_AREA_SIZE;
|
||||
for (int32_t i = 0; i < STAFF_PATROL_AREA_SIZE; i++)
|
||||
|
||||
Reference in New Issue
Block a user