Remove AsPeep

This commit is contained in:
duncanspumpkin committed 2020-06-06 11:36:48 +01:00
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);
}