]> git.mxchange.org Git - flightgear.git/commitdiff
remove temporary fix
authormfranz <mfranz>
Sun, 30 Jul 2006 08:08:51 +0000 (08:08 +0000)
committermfranz <mfranz>
Sun, 30 Jul 2006 08:08:51 +0000 (08:08 +0000)
src/Cockpit/hud.hxx

index fe36c250fe1d41d218c2d12009e0a3b674a41ce0..3964bacd579aada857c548899ff0e6e06d348635 100644 (file)
@@ -69,8 +69,7 @@ SG_USING_STD(deque);
 SG_USING_STD(vector);
 SG_USING_NAMESPACE(std);
 
-//#define float_to_int(v) SGMiscf::roundToInt(v)
-#define float_to_int(v) int(floorf(v + 0.5f))
+#define float_to_int(v) SGMiscf::roundToInt(v)
 
 // some of Norman's crazy optimizations. :-)