mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
committed by
GitHub
parent
4be3050e74
commit
c1e2c7cc5a
@@ -1606,7 +1606,7 @@ static bool track_design_place_ride(TrackDesign* td6, int16_t x, int16_t y, int1
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t waterZ = surfaceElement->GetWaterHeight();
|
||||
auto waterZ = surfaceElement->GetWaterHeight();
|
||||
if (waterZ > 0 && waterZ > surfaceZ)
|
||||
{
|
||||
surfaceZ = waterZ;
|
||||
|
||||
Reference in New Issue
Block a user