mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
* Closes #13624: Refactor ViewportInteractionItem to use strong enum
This commit is contained in:
@@ -627,7 +627,7 @@ static void window_title_command_editor_tool_down(
|
||||
{
|
||||
auto info = ViewportInteractionGetItemLeft(screenCoords);
|
||||
|
||||
if (info.SpriteType == VIEWPORT_INTERACTION_ITEM_SPRITE)
|
||||
if (info.SpriteType == ViewportInteractionItem::Entity)
|
||||
{
|
||||
auto entity = info.Entity;
|
||||
bool validSprite = false;
|
||||
|
||||
Reference in New Issue
Block a user