Fix mistake made in #10579 (#11184)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-03-31 20:56:47 +02:00
1 parent 4be3050e74
commit c1e2c7cc5a
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 "4"
#define NETWORK_STREAM_VERSION "5"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;
+1 -1
View File
@@ -1606,7 +1606,7 @@ static bool track_design_place_ride(TrackDesign* td6, int16_t x, int16_t y, int1
}
}
uint8_t waterZ = surfaceElement->GetWaterHeight();
auto waterZ = surfaceElement->GetWaterHeight();
if (waterZ > 0 && waterZ > surfaceZ)
{
surfaceZ = waterZ;