Fix issue with action not being updated when typing grow()/fire()/etc in console...
[supertux.git] / src / object / thunderstorm.cpp
index f86279c..f896f25 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)
-       : name(""), running(true), interval(10.0f)
+  : running(true), interval(10.0f)
 {
   reader.get("name", name);
   reader.get("running", running);