From f80695d0eba20f59f0be7f57ecd40c8c4919ec2f Mon Sep 17 00:00:00 2001 From: Jim Armstrong Date: Thu, 27 Jun 2019 11:42:18 -0400 Subject: [PATCH] Fix #9485: Staff cannot be hired in pause mode (#9489) Set ALLOW_WHILE_PAUSED flag for staff hire GA --- src/openrct2/actions/StaffHireNewAction.hpp | 2 +- src/openrct2/network/Network.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/actions/StaffHireNewAction.hpp b/src/openrct2/actions/StaffHireNewAction.hpp index bf29df5300..c4664833d6 100644 --- a/src/openrct2/actions/StaffHireNewAction.hpp +++ b/src/openrct2/actions/StaffHireNewAction.hpp @@ -76,7 +76,7 @@ public: uint16_t GetActionFlags() const override { - return GameAction::GetActionFlags(); + return GameAction::GetActionFlags() | GA_FLAGS::ALLOW_WHILE_PAUSED; } void Serialise(DataSerialiser & stream) override diff --git a/src/openrct2/network/Network.cpp b/src/openrct2/network/Network.cpp index 5de2b63865..781d69bb70 100644 --- a/src/openrct2/network/Network.cpp +++ b/src/openrct2/network/Network.cpp @@ -34,7 +34,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 "45" +#define NETWORK_STREAM_VERSION "46" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION static Peep* _pickup_peep = nullptr;