mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Refactor sprite_remove
This commit is contained in:
@@ -401,7 +401,7 @@ void footpath_remove_litter(const CoordsXYZ& footpathPos)
|
||||
if (distanceZ <= 32)
|
||||
{
|
||||
invalidate_sprite_0((rct_sprite*)sprite);
|
||||
sprite_remove((rct_sprite*)sprite);
|
||||
sprite_remove(sprite);
|
||||
}
|
||||
}
|
||||
spriteIndex = nextSpriteIndex;
|
||||
|
||||
Reference in New Issue
Block a user