Fix #10629: Footpaths on the ground do not cost money (#10671)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-02-08 16:29:14 +01:00
1 parent 1a5bbdb97e
commit 5da4903430
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 "13"
#define NETWORK_STREAM_VERSION "14"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;
+1 -1
View File
@@ -1460,7 +1460,7 @@ bool map_can_construct_with_clear_at(
std::copy(res->ErrorMessageArgs.begin(), res->ErrorMessageArgs.end(), gCommonFormatArgs);
if (price != nullptr)
{
*price = res->Cost;
*price += res->Cost;
}
gMapGroundFlags = dynamic_cast<ConstructClearResult*>(res.get())->GroundFlags;
return res->Error == GA_ERROR::OK;