From 180e50b0ad2b42709ed242a83dd775819469b48f Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 6 Aug 2019 16:29:09 +0200 Subject: [PATCH] Fix #9730: Ghost footpath not getting removed --- src/openrct2/actions/FootpathRemoveAction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/actions/FootpathRemoveAction.hpp b/src/openrct2/actions/FootpathRemoveAction.hpp index 76014a508d..878cf51375 100644 --- a/src/openrct2/actions/FootpathRemoveAction.hpp +++ b/src/openrct2/actions/FootpathRemoveAction.hpp @@ -112,7 +112,7 @@ private: { bool getGhostPath = GetFlags() & GAME_COMMAND_FLAG_GHOST; - TileElement* tileElement = map_get_footpath_element(_loc.x / 32, _loc.y / 32, _loc.z / 32); + TileElement* tileElement = map_get_footpath_element(_loc.x / 32, _loc.y / 32, _loc.z / 8); TileElement* footpathElement = nullptr; if (tileElement != nullptr) {