1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Fix mistake in #11345: Remove all Peeps also removing staff (#11352)

This commit is contained in:
Tulio Leao
2020-04-19 09:40:25 -03:00
committed by GitHub
parent b9e85f6b90
commit 629181b88d

View File

@@ -691,7 +691,10 @@ private:
{
auto peep = GET_PEEP(spriteIndex);
spriteIndex = peep->next;
peep->Remove();
if (peep->type == PEEP_TYPE_GUEST)
{
peep->Remove();
}
}
window_invalidate_by_class(WC_RIDE);