1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Refactor smalSceneryRemoveAction

This commit is contained in:
0cufox0
2019-07-06 23:04:02 +03:00
committed by duncanspumpkin
parent 0320f195e3
commit 5cd8541a1c
8 changed files with 24 additions and 30 deletions

View File

@@ -1755,7 +1755,7 @@ static void clear_element_at(int32_t x, int32_t y, TileElement** elementPtr)
}
case TILE_ELEMENT_TYPE_WALL:
{
CoordsXYZD wallLocation = { x, y, element->base_height, element->GetDirection() };
CoordsXYZD wallLocation = { x, y, element->base_height << 3, element->GetDirection() };
auto wallRemoveAction = WallRemoveAction(wallLocation);
GameActions::Execute(&wallRemoveAction);
}