Fix #7303 Visual glitch with virtual floor near map edges

This commit is contained in:
Hielke Morsink 2018-03-27 23:09:41 +02:00
parent 1b2b020246
commit 8adfd9a87c
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@
- Fix: [#3596] Saving parks, landscapes and tracks with a period in the filenames don't get their extension.
- Fix: [#5210] Default system dialog not accessible from saving landscape window.
- Fix: [#7176] Mechanics sometimes fall down from rides.
- Fix: [#7303] Visual glitch with virtual floor near map edges.
- Fix: [#7327] Abstract scenery and stations don't get fully See-Through when hiding them (original bug).
- Improved: Raising land near the map edge makes the affected area smaller instead of showing an 'off edge map' error.

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