Skip to content

Commit

Permalink
Fix #13832: Game action position is invalid on opening/closing a ride
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Jan 14, 2021
1 parent baaf686 commit f1ea718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions distribution/changelog.txt
Expand Up @@ -34,6 +34,7 @@
- Fix: [#13489] Mechanics continue heading to inspect broken down rides.
- Fix: [#13510] [Plugin] list view scroll resets when items is set.
- Fix: [#13574] Crash when a JSON object does not set `originalId`.
- Fix: [#13832] Players last action position is invalid on opening/closing a ride in multiplayer.
- Improved: [#12917] Changed peep movement so that they stay more spread out over the full width of single tile paths.
- Improved: [#13386] A GUI error message is now displayed if the language files are missing.
- Improved: [#13587] Allow up to 128 ride objects to be selected in track designer.
Expand Down
2 changes: 1 addition & 1 deletion src/openrct2/actions/RideSetStatusAction.cpp
Expand Up @@ -135,7 +135,7 @@ GameActions::Result::Ptr RideSetStatusAction::Execute() const
if (!ride->overall_view.isNull())
{
auto location = ride->overall_view.ToTileCentre();
res->Position = { location, tile_element_height(res->Position) };
res->Position = { location, tile_element_height(location) };
}

switch (_status)
Expand Down

0 comments on commit f1ea718

Please sign in to comment.