1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Merge pull request #7355 from Broxzier/fix/virtual-floor-zero-height

Fix #7303 Visual glitch with virtual floor near map edges
This commit is contained in:
Hielke Morsink
2018-03-28 12:48:39 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -304,6 +304,9 @@ void virtual_floor_paint(paint_session * session)
{ 0, -32 }
};
if (_virtualFloorHeight < MINIMUM_LAND_HEIGHT)
return;
uint8 direction = session->CurrentRotation;
// This is a virtual floor, so no interactions