1
0
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:
ζeh Matt
2021-09-28 03:16:04 +03:00
parent fb51f796c2
commit eb2de0222b
19 changed files with 115 additions and 122 deletions

View File

@@ -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());
}
}
}