mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #9737 from ZehMatt/fix-9730
Fix #9730: Ghost footpath not getting removed
This commit is contained in:
commit
1ec1c38882
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue