1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Rename Peep::standing_flags to StandingFlags

This commit is contained in:
Tulio Leao
2020-06-07 21:26:21 -03:00
parent 3ad2471a24
commit 355bebc63a
2 changed files with 5 additions and 5 deletions

View File

@@ -5786,7 +5786,7 @@ void Guest::UpdateWatching()
return;
}
if ((standing_flags & 1))
if ((StandingFlags & 1))
{
if ((scenario_rand() & 0xFFFF) <= 655)
{
@@ -5799,8 +5799,8 @@ void Guest::UpdateWatching()
}
}
standing_flags ^= (1 << 7);
if (!(standing_flags & (1 << 7)))
StandingFlags ^= (1 << 7);
if (!(StandingFlags & (1 << 7)))
return;
time_to_stand--;
@@ -6902,7 +6902,7 @@ void Guest::UpdateSpriteType()
}
}
if (state == PEEP_STATE_WATCHING && standing_flags & (1 << 1))
if (state == PEEP_STATE_WATCHING && StandingFlags & (1 << 1))
{
SetSpriteType(PEEP_SPRITE_TYPE_WATCHING);
return;

View File

@@ -649,7 +649,7 @@ struct Peep : SpriteBase
struct
{
uint8_t time_to_stand;
uint8_t standing_flags;
uint8_t StandingFlags;
};
};
// Normally 0, 1 for carrying sliding board on spiral slide ride, 2 for carrying lawn mower