1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +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

@@ -783,7 +783,7 @@ static bool TrackDesignPlaceSceneryElementRemoveGhost(
ga = std::make_unique<LargeSceneryRemoveAction>(mapCoord.x, mapCoord.y, z, sceneryRotation, 0);
break;
case OBJECT_TYPE_WALLS:
ga = std::make_unique<WallRemoveAction>(TileCoordsXYZD{ mapCoord.x / 32, mapCoord.y / 32, z, sceneryRotation });
ga = std::make_unique<WallRemoveAction>(CoordsXYZD{ mapCoord.x , mapCoord.y , z, sceneryRotation });
break;
case OBJECT_TYPE_PATHS:
ga = std::make_unique<FootpathRemoveAction>(mapCoord.x, mapCoord.y, z);