1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Replaced (1 << 6) with constant GAME_COMMAND_FLAG_GHOST

This commit is contained in:
Manuel Vögele
2016-09-18 11:48:44 +02:00
parent 6aee80193e
commit 88ee99db82

View File

@@ -220,7 +220,7 @@ static money32 footpath_element_insert(int type, int x, int y, int z, int slope,
mapElement->properties.path.additions = pathItemType;
mapElement->properties.path.addition_status = 255;
mapElement->flags &= ~MAP_ELEMENT_FLAG_BROKEN;
if (flags & (1 << 6))
if (flags & GAME_COMMAND_FLAG_GHOST)
mapElement->flags |= MAP_ELEMENT_FLAG_GHOST;
footpath_queue_chain_reset();