diff --git a/src/openrct2/network/Network.cpp b/src/openrct2/network/Network.cpp index 144999596a..d13a6c9e98 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 "4" +#define NETWORK_STREAM_VERSION "5" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION static Peep* _pickup_peep = nullptr; diff --git a/src/openrct2/ride/TrackDesign.cpp b/src/openrct2/ride/TrackDesign.cpp index f14efe1d70..a00fec9c70 100644 --- a/src/openrct2/ride/TrackDesign.cpp +++ b/src/openrct2/ride/TrackDesign.cpp @@ -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;