mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Use correct type for EntityId and fix issues
This commit is contained in:
@@ -217,7 +217,7 @@ void ResetEntitySpatialIndices()
|
||||
{
|
||||
vec.clear();
|
||||
}
|
||||
for (size_t i = 0; i < MAX_ENTITIES; i++)
|
||||
for (EntityId::UnderlyingType i = 0; i < MAX_ENTITIES; i++)
|
||||
{
|
||||
auto* spr = GetEntity(EntityId::FromUnderlying(i));
|
||||
if (spr != nullptr && spr->Type != EntityType::Null)
|
||||
|
||||
Reference in New Issue
Block a user