mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Refactor invalidate_sprite
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user