1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Remove IsDuck

This commit is contained in:
duncanspumpkin
2020-06-06 10:21:31 +01:00
parent 4485937560
commit f5772fae48
4 changed files with 3 additions and 9 deletions

View File

@@ -662,7 +662,7 @@ static void window_title_command_editor_tool_down(
validSprite = true;
format_string(command.SpriteName, USER_STRING_MAX_LENGTH, STR_SHOP_ITEM_SINGULAR_BALLOON, nullptr);
}
else if (info.sprite->IsDuck())
else if (info.sprite->generic.Is<Duck>())
{
validSprite = true;
format_string(command.SpriteName, USER_STRING_MAX_LENGTH, STR_DUCK, nullptr);