1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Rename InteractionInfo::SpriteType to interactionType

This commit is contained in:
Aaron van Geffen
2024-09-22 16:53:43 +02:00
parent 6d27369ea6
commit 97acb793e8
16 changed files with 67 additions and 65 deletions

View File

@@ -195,7 +195,7 @@ namespace OpenRCT2::Scripting
obj.Set("screenCoords", ToDuk(ctx, screenCoords));
obj.Set("mapCoords", ToDuk(ctx, info.Loc));
if (info.SpriteType == ViewportInteractionItem::Entity && info.Entity != nullptr)
if (info.interactionType == ViewportInteractionItem::Entity && info.Entity != nullptr)
{
obj.Set("entityId", info.Entity->Id.ToUnderlying());
}