1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Refactor invalidate_sprite

This commit is contained in:
duncanspumpkin
2020-01-19 16:31:00 +00:00
parent 71aed18fba
commit 5e9e9df7ce
17 changed files with 50 additions and 50 deletions

View File

@@ -1547,7 +1547,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
if (peeps.size() > 1)
sprite = peeps[util_rand() % peeps.size() - 1];
sprite->peep.tshirt_colour = util_rand() & 0xFF;
invalidate_sprite_0(sprite);
invalidate_sprite_0(sprite->AsPeep());
}
break;
}