mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Use IsPeep in more places
This commit is contained in:
@@ -620,7 +620,7 @@ static void window_title_command_editor_tool_down(
|
||||
uint16_t spriteIndex = info.sprite->generic.sprite_index;
|
||||
uint16_t spriteIdentifier = info.sprite->generic.sprite_identifier;
|
||||
bool validSprite = false;
|
||||
if (spriteIdentifier == SPRITE_IDENTIFIER_PEEP)
|
||||
if (info.sprite->IsPeep())
|
||||
{
|
||||
validSprite = true;
|
||||
auto peep = GET_PEEP(spriteIndex);
|
||||
|
||||
Reference in New Issue
Block a user