1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Refactor sprite_index to Id

This commit is contained in:
ζeh Matt
2023-01-27 19:18:44 +02:00
parent 17ce2d759f
commit 2f8e208a9d
34 changed files with 169 additions and 175 deletions

View File

@@ -194,7 +194,7 @@ namespace OpenRCT2::Scripting
if (info.SpriteType == ViewportInteractionItem::Entity && info.Entity != nullptr)
{
obj.Set("entityId", info.Entity->sprite_index.ToUnderlying());
obj.Set("entityId", info.Entity->Id.ToUnderlying());
}
else if (info.Element != nullptr)
{