Skip to content

Commit

Permalink
Fix #10196: Cannot place doors at end of track corners (#10663)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanspumpkin committed Feb 7, 2020
1 parent 2340206 commit 661be85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions distribution/changelog.txt
Expand Up @@ -9,6 +9,7 @@
- Fix: [#5249] No collision detection when building ride entrance at heights > 85.5m.
- Fix: [#7784] Vehicle tab takes 1st car colour instead of tab_vehicle's colour.
- Fix: [#8875] RCT1 competition scenarios are classified incorrectly.
- Fix: [#10196] Doors unable to be placed at end of track corners.
- Fix: [#10228] Can't import RCT1 Deluxe from Steam.
- Fix: [#10313] Path furniture can be placed on level crossings.
- Fix: [#10325] Crash when banners have no text.
Expand Down
2 changes: 1 addition & 1 deletion src/openrct2/actions/WallPlaceAction.hpp
Expand Up @@ -587,7 +587,7 @@ DEFINE_GAME_ACTION(WallPlaceAction, GAME_COMMAND_PLACE_WALL, WallPlaceActionResu
return false;
}

direction = trackElement->GetDirection();
direction = (trackElement->GetDirection() + TrackCoordinates[trackType].rotation_end) & TILE_ELEMENT_DIRECTION_MASK;
if (direction != _edge)
{
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/openrct2/network/Network.cpp
Expand Up @@ -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 "12"
#define NETWORK_STREAM_VERSION "13"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION

static Peep* _pickup_peep = nullptr;
Expand Down

0 comments on commit 661be85

Please sign in to comment.