1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Merge pull request #8820 from AaronVanGeffen/fix/8804

Fix #8804: Raising water shows money effect at the bottom
This commit is contained in:
Duncan
2019-03-03 14:23:58 +00:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -77,6 +77,7 @@
- Fix: [#8720] Desync due to boats colliding with ghost pieces.
- Fix: [#8739] Savegame from original game crashes when cruising through map.
- Fix: [#8742] Access violation in vehicle_update_sound_params.
- Fix: [#8804] Raising water shows money effect at the bottom rather than new height.
- Fix: [#8811] Some fields in the sv6 save file not being copied correctly.
- Improved: [#2940] Allow mouse-dragging to set patrol area (Singleplayer only).
- Improved: [#7730] Draw extreme vertical and lateral Gs red in the ride window's graph tab.

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

View File

@@ -1429,7 +1429,7 @@ money32 raise_water(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint8_t flag
int16_t water_height_z = z >> 16;
int16_t base_height_z = z;
z = water_height_z;
if (z != 0)
if (z == 0)
z = base_height_z;
LocationXYZ16 coord;