X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fthunderstorm.cpp;h=656bd0a14d9f339b5a26b4d16f77461d31e7269b;hb=1dfbd27a41341f26775ca4e2b9ca4864f5744a6f;hp=1253b352f76beb282d8b7b1157adeacb561e0ba5;hpb=8a627e73d824b5a14249cfe066dc2fdc643ce28d;p=supertux.git diff --git a/src/object/thunderstorm.cpp b/src/object/thunderstorm.cpp index 1253b352f..656bd0a14 100644 --- a/src/object/thunderstorm.cpp +++ b/src/object/thunderstorm.cpp @@ -37,12 +37,12 @@ #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);