Compiler warning fix
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 20:10:50 +0000 (20:10 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 22 Feb 2010 20:10:50 +0000 (20:10 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6395 837edb03-e0f3-0310-88ca-d4d4e8b29345

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() :