mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Entity type 2: Remove sprite_identifier (#14334)
* Start changing the underlying type * Further work * Complete refactor * Further cleanup * Remove pointless check * Increment network and plugin versions * Add defaults * Further defaults * Fix test paint * Update replays
This commit is contained in:
@@ -1585,7 +1585,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
|
||||
for (int i = 0; i < MAX_ENTITIES; i++)
|
||||
{
|
||||
auto* sprite = GetEntity(i);
|
||||
if (sprite == nullptr || sprite->sprite_identifier == SpriteIdentifier::Null)
|
||||
if (sprite == nullptr || sprite->Type == EntityType::Null)
|
||||
continue;
|
||||
|
||||
auto peep = sprite->As<Peep>();
|
||||
|
||||
Reference in New Issue
Block a user