mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Use GetLocation in more places
This commit is contained in:
@@ -593,7 +593,7 @@ void reset_all_sprite_quadrant_placements()
|
||||
auto* spr = GetEntity(i);
|
||||
if (spr != nullptr && spr->Type != EntityType::Null)
|
||||
{
|
||||
spr->MoveTo({ spr->x, spr->y, spr->z });
|
||||
spr->MoveTo(spr->GetLocation());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user