1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Refactor invalidation logic to be generic to the callee

This commit is contained in:
Matt
2020-12-31 18:43:48 +02:00
parent 5ae54eb9f9
commit efa1db826e
17 changed files with 79 additions and 78 deletions

View File

@@ -1601,7 +1601,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
if (peeps.size() > 1)
peep = peeps[util_rand() % peeps.size() - 1];
peep->TshirtColour = util_rand() & 0xFF;
peep->Invalidate0();
peep->Invalidate();
}
break;
}