Merge pull request #9910 from Gymnasiast/more-tile-element-16-stuff

Small tile element cleanup
This commit is contained in:
Michael Steenbeek 2019-08-19 21:26:45 +02:00 committed by GitHub
commit bc1b4798e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

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);
}

View File

@ -34,7 +34,7 @@
// This string specifies which version of network stream current build uses.
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "5"
#define NETWORK_STREAM_VERSION "6"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;