diff --git a/src/openrct2/network/network.h b/src/openrct2/network/network.h index c852184a48..a08be45526 100644 --- a/src/openrct2/network/network.h +++ b/src/openrct2/network/network.h @@ -51,7 +51,7 @@ typedef struct GameAction GameAction; // This define 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 "27" +#define NETWORK_STREAM_VERSION "28" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION #ifdef __cplusplus diff --git a/src/openrct2/world/footpath.c b/src/openrct2/world/footpath.c index f787c014b8..28af6bb392 100644 --- a/src/openrct2/world/footpath.c +++ b/src/openrct2/world/footpath.c @@ -1299,7 +1299,7 @@ static void loc_6A6D7E( if (!(FlatRideTrackSequenceProperties[trackType][trackSequence] & TRACK_SEQUENCE_FLAG_CONNECTS_TO_PATH)) { return; } - uint16 dx = (direction - tile_element_get_direction(tileElement)) ^ 2; + uint16 dx = ((direction - tile_element_get_direction(tileElement)) & TILE_ELEMENT_DIRECTION_MASK) ^ 2; if (!(FlatRideTrackSequenceProperties[trackType][trackSequence] & (1 << dx))) { return; }