]> git.mxchange.org Git - flightgear.git/blobdiff - Cockpit/hud_card.cxx
C++ ifying ...
[flightgear.git] / Cockpit / hud_card.cxx
index 6018cf0b61a8b8d559eced8fa4ad95dde4f2bdd8..1abb0342a194425459d33424fe56b70c358c4818 100644 (file)
@@ -7,7 +7,7 @@
 #endif
 #include <stdlib.h>
 #include <string.h>
-#include <Aircraft/aircraft.h>
+#include <Aircraft/aircraft.hxx>
 #include <Debug/fg_debug.h>
 #include <Include/fg_constants.h>
 #include <Math/fg_random.h>
@@ -15,7 +15,6 @@
 #include <Math/polar3d.hxx>
 #include <Scenery/scenery.hxx>
 #include <Time/fg_timer.hxx>
-#include <Weather/weather.h>
 
 
 #include "hud.hxx"
@@ -81,7 +80,7 @@ draw( void ) //  (HUD_scale * pscale )
   /* register */ int i;
   char TextScale[80];
   bool condition;
-  int disp_val;
+  int disp_val = 0;
   POINT mid_scr    = get_centroid();
   double cur_value = get_value();
   RECT   scrn_rect = get_location();