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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user