mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Remove AsPeep
This commit is contained in:
@@ -1574,7 +1574,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
|
||||
if (sprite->generic.sprite_identifier == SPRITE_IDENTIFIER_NULL)
|
||||
continue;
|
||||
|
||||
auto peep = sprite->AsPeep();
|
||||
auto peep = sprite->generic.As<Peep>();
|
||||
if (peep != nullptr)
|
||||
peeps.push_back(peep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user