1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Refactor sprite_remove

This commit is contained in:
duncanspumpkin
2020-01-19 16:12:29 +00:00
parent 65c6564165
commit a262f325ed
12 changed files with 29 additions and 29 deletions

View File

@@ -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;