Fix #10587: Update last action coordinates on correct player (#10845)

This commit is contained in:
ζeh Matt 2020-02-28 16:23:41 +01:00 committed by GitHub
parent 52d5995240
commit b86854a259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@
- Fix: [#10489] Hosts last player action not being synchronized.
- Fix: [#10543] Secondary shop item prices are not imported correctly from RCT1 saves.
- Fix: [#10547] RCT1 parks have too many rides available.
- Fix: [#10587] Update last action coordinates on correct player.
- Fix: [#10694] The lift hill speed of the flying roller coaster cannot be changed (original bug).
- Fix: [#10705] Apply multithreaded rendering to all viewports.
- Fix: [#10739] Mountain tool overlay for even-numbered selections.

View File

@ -433,7 +433,7 @@ namespace GameActions
if (!result->Position.isNull())
{
network_set_player_last_action_coord(playerId, result->Position);
network_set_player_last_action_coord(playerIndex, result->Position);
}
}
else

View File

@ -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 "18"
#define NETWORK_STREAM_VERSION "19"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;