1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +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

@@ -309,7 +309,7 @@ namespace Editor
//
for (int32_t i = 0; i < MAX_SPRITES; i++)
{
auto peep = get_sprite(i)->AsPeep();
auto peep = get_sprite(i)->generic.As<Peep>();
if (peep != nullptr)
{
peep->SetName({});