1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Remove IsBalloon

This commit is contained in:
duncanspumpkin
2020-06-06 10:15:13 +01:00
parent 1758f2a133
commit 4485937560
5 changed files with 5 additions and 11 deletions

View File

@@ -657,7 +657,7 @@ static void window_title_command_editor_tool_down(
}
else if (spriteIdentifier == SPRITE_IDENTIFIER_MISC)
{
if (info.sprite->IsBalloon())
if (info.sprite->generic.Is<Balloon>())
{
validSprite = true;
format_string(command.SpriteName, USER_STRING_MAX_LENGTH, STR_SHOP_ITEM_SINGULAR_BALLOON, nullptr);