diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index e5bcc9ad08..df0322abc1 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -49,7 +49,7 @@ using namespace OpenRCT2; // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. -constexpr uint8_t kNetworkStreamVersion = 4; +constexpr uint8_t kNetworkStreamVersion = 5; const std::string kNetworkStreamID = std::string(OPENRCT2_VERSION) + "-" + std::to_string(kNetworkStreamVersion); diff --git a/src/openrct2/ride/RideConstruction.cpp b/src/openrct2/ride/RideConstruction.cpp index a4d4220adb..021e7ef1e9 100644 --- a/src/openrct2/ride/RideConstruction.cpp +++ b/src/openrct2/ride/RideConstruction.cpp @@ -1216,10 +1216,10 @@ void Ride::ValidateStations() } // update all the blocks with StationIndex const auto& ted = GetTrackElementDescriptor(tileElement->AsTrack()->GetTrackType()); - const auto& firstBlock = ted.sequences[0].clearance; for (uint8_t i = 0; i < ted.numSequences; i++) { - CoordsXYZ blockLocation = location + CoordsXYZ{ CoordsXY{ firstBlock.x, firstBlock.y }.Rotate(direction), 0 }; + const auto& block = ted.sequences[i].clearance; + CoordsXYZ blockLocation = location + CoordsXYZ{ CoordsXY{ block.x, block.y }.Rotate(direction), 0 }; bool trackFound = false; tileElement = MapGetFirstElementAt(blockLocation);