From b7e34f08ee809a6b2b6518ab3c8ac996c4daddd4 Mon Sep 17 00:00:00 2001 From: grumbel Date: Mon, 22 Feb 2010 20:10:50 +0000 Subject: [PATCH] Compiler warning fix git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6395 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/supertux/collision.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/supertux/collision.hpp b/src/supertux/collision.hpp index 0e0787110..67b2f2031 100644 --- a/src/supertux/collision.hpp +++ b/src/supertux/collision.hpp @@ -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::has_infinity ? std::numeric_limits::infinity() : -- 2.11.0