]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_scal.cxx
Set the key SGModelLib callback to make aircraft-dir OSG loading work.
[flightgear.git] / src / Cockpit / hud_scal.cxx
index f2fc6abc55fb4b81e5e02de111583bf0e6af59f2..694a0ea3aa861ab5ddf27d769d8ff85f88c9f420 100644 (file)
@@ -45,7 +45,7 @@ instr_scale::instr_scale(
     if (show_range < 0)
         range_shown = -range_shown;
 
-    temp = FloatToInt(Maximum_value - Minimum_value) / 100;
+    temp = float_to_int(Maximum_value - Minimum_value) / 100;
     if (range_shown < temp)
         range_shown = temp;
 }