From 12ab701a0fc89e1e12a3724ebef164ae4c111172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 5 Apr 2020 06:45:00 +0200 Subject: [PATCH] Add missing Expenditure type setting in LargeSceneryPlaceAction (#11224) Claiming first bounty of #11190 --- src/openrct2/actions/LargeSceneryPlaceAction.hpp | 1 + src/openrct2/network/Network.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openrct2/actions/LargeSceneryPlaceAction.hpp b/src/openrct2/actions/LargeSceneryPlaceAction.hpp index 19a3157b17..d12fdc3985 100644 --- a/src/openrct2/actions/LargeSceneryPlaceAction.hpp +++ b/src/openrct2/actions/LargeSceneryPlaceAction.hpp @@ -211,6 +211,7 @@ public: { auto res = std::make_unique(); res->ErrorTitle = STR_CANT_POSITION_THIS_HERE; + res->Expenditure = ExpenditureType::Landscaping; int16_t surfaceHeight = tile_element_height(_loc); res->Position.x = _loc.x + 16; diff --git a/src/openrct2/network/Network.cpp b/src/openrct2/network/Network.cpp index df2404c9e6..e887427cf3 100644 --- a/src/openrct2/network/Network.cpp +++ b/src/openrct2/network/Network.cpp @@ -31,7 +31,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 "7" +#define NETWORK_STREAM_VERSION "8" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION static Peep* _pickup_peep = nullptr;