From 568915d7fbad7c85afb0bab4ceb964c487c19120 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sun, 26 Jul 2015 07:41:44 +0100 Subject: [PATCH] Fix peeps not moving when footpath changed. Fixes #1604 --- src/world/footpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index 997c80b1e9..a7cb85f7a0 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -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);