forked from rosebudai/OpenRCT2-Web
Remove AsPeep
This commit is contained in:
1 parent
7ba795e96c
commit
5c48e5f0bb
10 files changed
+10
-21
No files matched your search
@@ -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