Switched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/
[supertux.git] / src / object / level_time.cpp
index 20c708f..26de88d 100644 (file)
@@ -19,7 +19,7 @@
 #include "object/player.hpp"
 #include "scripting/level_time.hpp"
 #include "scripting/squirrel_util.hpp"
-#include "supertux/main.hpp"
+#include "supertux/globals.hpp"
 #include "supertux/object_factory.hpp"
 #include "supertux/resources.hpp"
 #include "supertux/sector.hpp"
@@ -32,6 +32,7 @@
 static const float TIME_WARNING = 20;
 
 LevelTime::LevelTime(const Reader& reader) :
+  time_surface(),
   running(true), 
   time_left(0)
 {