1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Fix peeps not moving when footpath changed.

Fixes #1604
This commit is contained in:
Duncan Frost
2015-07-26 07:41:44 +01:00
parent 0d8d797f15
commit 568915d7fb

View File

@@ -683,7 +683,7 @@ void footpath_interrupt_peeps(int x, int y, int z)
nextSpriteIndex = peep->next_in_quadrant;
if (peep->linked_list_type_offset == SPRITE_LINKEDLIST_OFFSET_PEEP) {
if (peep->state == PEEP_STATE_SITTING || peep->state == PEEP_STATE_WATCHING) {
if (peep->z == 0) {
if (peep->z == z) {
peep_decrement_num_riders(peep);
peep->state = PEEP_STATE_WALKING;
peep_window_state_update(peep);