1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Merge pull request #9737 from ZehMatt/fix-9730

Fix #9730: Ghost footpath not getting removed
This commit is contained in:
ζeh Matt
2019-08-06 19:44:02 +02:00
committed by GitHub

View File

@@ -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)
{