1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Remove game command remnant in Tile Inspector

This commit is contained in:
Gymnasiast
2019-08-19 20:28:06 +02:00
parent 7d2a7deb28
commit 4c684031bf

View File

@@ -663,10 +663,6 @@ static void window_tile_inspector_copy_element(rct_window* w)
static void window_tile_inspector_paste_element(rct_window* w)
{
// Construct the data to send using the surface's properties
int32_t data[4];
std::memcpy(&data[0], &tileInspectorCopiedElement, 8);
assert_struct_size(data, sizeof(tileInspectorCopiedElement));
auto modifyTile = TileModifyAction(windowTileInspectorToolMap, TileModifyType::AnyPaste, 0, 0, tileInspectorCopiedElement);
GameActions::Execute(&modifyTile);
}