]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tilemgr.cxx
Currently, when the sim pauses, all IO is also halted. To me it generally
[flightgear.git] / src / Scenery / tilemgr.cxx
index 2501b8ff52d9268c866e3fcb71ecca4eb5e4e0a9..2b16af01838cb629a7c5d9c1744931f5a14e9730 100644 (file)
@@ -367,9 +367,9 @@ int FGTileMgr::update( SGLocation *location, double visibility_meters,
 {
     longitude = location->getLongitude_deg();
     latitude = location->getLatitude_deg();
-    // add 2.0m to the max altitude to give a little leeway to the
+    // add 1.0m to the max altitude to give a little leeway to the
     // ground reaction code.
-    altitude_m = location->getAltitudeASL_ft() * SG_FEET_TO_METER + 2.0;
+    altitude_m = location->getAltitudeASL_ft() * SG_FEET_TO_METER + 1.0;
 
     // if current altitude is apparently not initialized, set max
     // altitude to something big.