1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Fix bug - prevent firing of staff while being picked up

This commit is contained in:
zsilencer
2016-10-18 13:20:45 -06:00
parent 541ae91d67
commit 986c2ab97e

View File

@@ -474,6 +474,10 @@ void game_command_fire_staff_member(int *eax, int *ebx, int *ecx, int *edx, int
*ebx = MONEY32_UNDEFINED;
return;
}
if (peep->state == PEEP_STATE_PICKED) {
*ebx = MONEY32_UNDEFINED;
return;
}
remove_peep_from_ride(peep);
peep_sprite_remove(peep);
}