Fix for uninitialized members
authorTobias Markus <tobbi@mozilla-uk.org>
Fri, 13 Feb 2015 15:46:47 +0000 (16:46 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Fri, 13 Feb 2015 15:46:47 +0000 (16:46 +0100)
src/supertux/player_status.cpp

index a66663b..2ce2de7 100644 (file)
@@ -40,6 +40,8 @@ PlayerStatus::PlayerStatus() :
   bonus(NO_BONUS),
   max_fire_bullets(0),
   max_ice_bullets(0),
+  max_air_time(0),
+  max_earth_time(0),
   displayed_coins(DISPLAYED_COINS_UNSET),
   displayed_coins_frame(0),
   coin_surface()