From: grumbel Date: Mon, 22 Feb 2010 20:10:50 +0000 (+0000) Subject: Compiler warning fix X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b7e34f08ee809a6b2b6518ab3c8ac996c4daddd4;p=supertux.git Compiler warning fix git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6395 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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() :