Fix 15851: Katie Smith cheat (#15852)

* Fix #15851. Katie Smith cheat had v. low chance of jumping

Mistake made during implementation

* Increment network

* Update changelog
This commit is contained in:
Duncan 2021-11-03 17:35:52 +00:00 committed by GitHub
parent 8b724cd998
commit 0389e926a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -50,6 +50,7 @@
- Fix: [#15582] [Plugin] Litter properties return incorrect values.
- Fix: [#15584] Ride income underflows when on-ride photos are making losses.
- Fix: [#15612] Crash when placing walls beside certain scenery objects.
- Fix: [#15851] Incorrect percentage chance of jumping with Katie Smith cheat.
- Improved: [#3417] Crash dumps are now placed in their own folder.
- Improved: [#13524] macOS arm64 native (universal) app
- Improved: [#15538] Software rendering can now draw in parallel when Multithreading is enabled.

View File

@ -38,7 +38,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 "16"
#define NETWORK_STREAM_VERSION "17"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;

View File

@ -556,7 +556,7 @@ void Guest::UpdateEasterEggInteractions()
if (PeepFlags & PEEP_FLAGS_JOY)
{
if (scenario_rand() <= 1456)
if ((scenario_rand() & 0xFFFF) <= 1456)
{
if (IsActionInterruptable())
{