Tux grows faster, stops growing when hit
[supertux.git] / src / object / thunderstorm.cpp
index 1253b35..656bd0a 100644 (file)
 #include "log.hpp"
 
 namespace {
-       const float LIGHTNING_DELAY = 2.0;
-       const float FLASH_DISPLAY_TIME = 0.1;
+       const float LIGHTNING_DELAY = 2.0f;
+       const float FLASH_DISPLAY_TIME = 0.1f;
 }
 
 Thunderstorm::Thunderstorm(const lisp::Lisp& reader)
-       : GameObject(reader), running(true), interval(10.0f)
+  : running(true), interval(10.0f)
 {
   reader.get("name", name);
   reader.get("running", running);