projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
center camera on tux feet, so we get no jumps when tux ducks
[supertux.git]
/
src
/
object
/
thunderstorm.cpp
diff --git
a/src/object/thunderstorm.cpp
b/src/object/thunderstorm.cpp
index
f86279c
..
656bd0a
100644
(file)
--- a/
src/object/thunderstorm.cpp
+++ b/
src/object/thunderstorm.cpp
@@
-37,12
+37,12
@@
#include "log.hpp"
namespace {
#include "log.hpp"
namespace {
- const float LIGHTNING_DELAY = 2.0;
- const float FLASH_DISPLAY_TIME = 0.1;
+ const float LIGHTNING_DELAY = 2.0
f
;
+ const float FLASH_DISPLAY_TIME = 0.1
f
;
}
Thunderstorm::Thunderstorm(const lisp::Lisp& reader)
}
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);
{
reader.get("name", name);
reader.get("running", running);