1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

refactor wallRemoveAction

This commit is contained in:
0cufox0
2019-07-06 21:26:58 +03:00
committed by duncanspumpkin
parent 7730b35d82
commit 0320f195e3
7 changed files with 19 additions and 19 deletions

View File

@@ -574,7 +574,7 @@ static void viewport_interaction_remove_park_wall(TileElement* tileElement, int3
}
else
{
TileCoordsXYZD wallLocation = { x >> 5, y >> 5, tileElement->base_height, tileElement->GetDirection() };
CoordsXYZD wallLocation = { x , y , tileElement->base_height , tileElement->GetDirection() };
auto wallRemoveAction = WallRemoveAction(wallLocation);
GameActions::Execute(&wallRemoveAction);
}