mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Use correct type for EntityId and fix issues
This commit is contained in:
@@ -519,7 +519,7 @@ void game_unload_scripts()
|
||||
*/
|
||||
void reset_all_sprite_quadrant_placements()
|
||||
{
|
||||
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