#include "audio/sound_manager.hpp"
#include "object/electrifier.hpp"
#include "scripting/squirrel_util.hpp"
-#include "supertux/main.hpp"
+#include "supertux/globals.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include "util/reader.hpp"
Thunderstorm::Thunderstorm(const Reader& reader) :
running(true),
interval(10.0f),
- layer(LAYER_BACKGROUNDTILES-1)
+ layer(LAYER_BACKGROUNDTILES-1),
+ time_to_thunder(),
+ time_to_lightning(),
+ flash_display_timer()
{
reader.get("name", name);
reader.get("running", running);