From 1a0fc465592f178be598975b0823f919b20b3307 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Sun, 27 Sep 2015 16:21:45 +0100 Subject: [PATCH] Fix #1723 issue caused by failing to return. The logic would fall through to the ending code so that it would just make a beeline to the exit after walking to one corner. --- src/peep/peep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/peep/peep.c b/src/peep/peep.c index 61d0f78203..2ac50005c0 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -2643,6 +2643,7 @@ static void peep_udpate_ride_sub_state_13(rct_peep* peep){ peep->destination_x = x; peep->destination_y = y; + return; } peep->var_37 |= 3;