From: Ingo Ruhnke 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=e9daf2836bc5b7400acfbbe3b5633a008ff9c811;p=supertux.git Compiler warning fix SVN-Revision: 6395 --- 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() :