1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Remove AsPeep

This commit is contained in:
duncanspumpkin
2020-06-06 10:55:01 +01:00
parent 7ba795e96c
commit 5c48e5f0bb
10 changed files with 10 additions and 21 deletions

View File

@@ -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);
}