mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Use correct type for EntityId and fix issues
This commit is contained in:
@@ -83,7 +83,7 @@ struct GameStateSnapshot_t
|
||||
|
||||
if (saving)
|
||||
{
|
||||
for (size_t i = 0; i < numSprites; i++)
|
||||
for (EntityId::UnderlyingType i = 0; i < numSprites; i++)
|
||||
{
|
||||
auto entity = getEntity(EntityId::FromUnderlying(i));
|
||||
if (entity == nullptr || entity->base.Type == EntityType::Null)
|
||||
|
||||
Reference in New Issue
Block a user