Compiler warning fix
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 22 Feb 2010 20:10:50 +0000 (20:10 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 22 Feb 2010 20:10:50 +0000 (20:10 +0000)
SVN-Revision: 6395

src/supertux/collision.hpp

index 0e07871..67b2f20 100644 (file)
@@ -31,6 +31,8 @@ class Constraints
 {
 public:
   Constraints() :
+    ground_movement(),
+    hit(),
     position_left(),
     position_right(),
     position_top(),
@@ -38,9 +40,7 @@ public:
     speed_left(),
     speed_right(),
     speed_top(),
-    speed_bottom(),
-    ground_movement(),
-    hit()
+    speed_bottom()
   {
     float infinity = (std::numeric_limits<float>::has_infinity ? 
                       std::numeric_limits<float>::infinity() :