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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user