mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #8804: Raising water shows money effect at the bottom rather than new height
This commit is contained in:
parent
01c7429a5c
commit
e4ab16acc1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue