Fix #8942: Water level is raised abnormally (#8971)

This commit is contained in:
Nazey authored and Aaron van Geffen committed 2019-03-26 17:34:30 +01:00
1 parent c841ee31e7
commit 047fa65a66
2 files changed
+5 -1

No files matched your search

@@ -86,6 +86,10 @@ private:
SurfaceElement* surfaceElement = tileElement->AsSurface();
uint8_t height = surfaceElement->GetWaterHeight();
if (surfaceElement->base_height > maxHeight)
continue;
if (height != 0)
{
height *= 2;
+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 "9"
#define NETWORK_STREAM_VERSION "10"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;