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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user