1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Close #13624: Refactor ViewportInteractionItem to use strong enum (#13657)

* Closes #13624: Refactor ViewportInteractionItem to use strong enum
This commit is contained in:
Dennis Devriendt
2020-12-29 19:09:15 +01:00
committed by GitHub
parent ce2319fca4
commit 3073cca6aa
45 changed files with 238 additions and 230 deletions

View File

@@ -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;