From b79bc68af9f34ba1b559341a526d6189ecb677fb Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sun, 7 Jun 2015 14:01:32 +0100 Subject: [PATCH] fix #1234 --- src/world/footpath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index 30f19d67dd..d3b6ba170a 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -61,10 +61,10 @@ static void automatically_set_peep_spawn(int x, int y, int z) } } - peepSpawn->x = (word_981D6C[direction].x * 15) + 16; - peepSpawn->y = (word_981D6C[direction].y * 15) + 16; + peepSpawn->x = x + (word_981D6C[direction].x * 15) + 16; + peepSpawn->y = y + (word_981D6C[direction].y * 15) + 16; peepSpawn->direction = direction; - peepSpawn->z = z / 2; + peepSpawn->z = z; } rct_map_element *map_get_footpath_element(int x, int y, int z)