From faa5cc2472223b267f27520198c19a56b967149e Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Fri, 3 Aug 2018 21:58:49 +0200 Subject: [PATCH] Fix #7823: You can build mazes while paused --- distribution/changelog.txt | 1 + src/openrct2/actions/MazeSetTrackAction.hpp | 2 +- src/openrct2/network/Network.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 5c2efadfd1..4a24d92a48 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -24,6 +24,7 @@ - Fix: [#7786] Crash when importing a track design. - Fix: [#7793] Duplicate private keys generated. - Fix: [#7817] No sprite font glyph for interpunct. +- Fix: [#7823] You can build mazes in pause mode. 0.2.0 (2018-06-10) ------------------------------------------------------------------------ diff --git a/src/openrct2/actions/MazeSetTrackAction.hpp b/src/openrct2/actions/MazeSetTrackAction.hpp index fb068346e2..4b114338f6 100644 --- a/src/openrct2/actions/MazeSetTrackAction.hpp +++ b/src/openrct2/actions/MazeSetTrackAction.hpp @@ -77,7 +77,7 @@ public: uint16_t GetActionFlags() const override { - return GameAction::GetActionFlags() | GA_FLAGS::ALLOW_WHILE_PAUSED; + return GameAction::GetActionFlags(); } void Serialise(DataSerialiser& stream) override diff --git a/src/openrct2/network/Network.cpp b/src/openrct2/network/Network.cpp index 568f43ed2e..acc57a6fd3 100644 --- a/src/openrct2/network/Network.cpp +++ b/src/openrct2/network/Network.cpp @@ -27,7 +27,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 "3" +#define NETWORK_STREAM_VERSION "4" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION static rct_peep* _pickup_peep = nullptr;