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

Close #12450: Refactor SPRITE_IDENTIFIER to use strong enum

This commit is contained in:
ju-pinheiro
2020-10-27 13:07:04 -03:00
parent 6df7958e54
commit bb16ca075b
30 changed files with 173 additions and 170 deletions

View File

@@ -1578,7 +1578,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
for (int i = 0; i < MAX_SPRITES; i++)
{
auto* sprite = GetEntity(i);
if (sprite == nullptr || sprite->sprite_identifier == SPRITE_IDENTIFIER_NULL)
if (sprite == nullptr || sprite->sprite_identifier == SpriteIdentifier::Null)
continue;
auto peep = sprite->As<Peep>();