Entertainers don't crash the game anymore

This commit is contained in:
qcz 2014-08-20 07:23:02 +02:00
parent 4959bdd55d
commit 0e48e92949
1 changed files with 1 additions and 1 deletions

View File

@ -2666,7 +2666,7 @@ static void game_hire_new_staff_member(int* eax, int* ebx, int* ecx, int* edx,
newPeep->var_AD = RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, uint8);
newPeep->var_CC = 0xFFFFFFFF;
uint8 colour = RCT2_ADDRESS(RCT2_ADDRESS_HANDYMAN_COLOUR, uint8)[tabIndex];
uint8 colour = RCT2_ADDRESS(RCT2_ADDRESS_HANDYMAN_COLOUR, uint8)[tabIndex > 2 ? 2 : tabIndex];
newPeep->tshirt_colour = colour;
newPeep->trousers_colour = colour;