mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Remove uses of GET_PEEP macro and replace with GetEntity (#12467)
* Use TryGetEntity and GetEntity instead of macro * Use GetEntity for ui guest window * Remove final GET_PEEP macro uses * Fix remaining issues
This commit is contained in:
@@ -622,7 +622,7 @@ static void window_title_command_editor_tool_down(
|
||||
if (info.sprite->generic.Is<Peep>())
|
||||
{
|
||||
validSprite = true;
|
||||
auto peep = GET_PEEP(spriteIndex);
|
||||
auto peep = GetEntity<Peep>(spriteIndex);
|
||||
if (peep != nullptr)
|
||||
{
|
||||
uint8_t formatArgs[32]{};
|
||||
|
||||
Reference in New Issue
Block a user