Added type checking for __custom functions
[supertux.git] / src / world.cpp
index 24d22c8..26ace8b 100644 (file)
@@ -19,7 +19,7 @@
 //  02111-1307, USA.
 #include <config.h>
 
-#include <cstddef>
+#include <stddef.h>
 #include <physfs.h>
 #include <stdexcept>
 
@@ -33,6 +33,7 @@
 #include "log.hpp"
 #include "worldmap/worldmap.hpp"
 #include "mainloop.hpp"
+#include "player_status.hpp"
 
 static bool has_suffix(const std::string& data, const std::string& suffix)
 {
@@ -128,7 +129,7 @@ World::run()
 
   current_ = this;
 
-  // create new squirrel table for persisten game state
+  // create new squirrel table for persistent game state
   HSQUIRRELVM vm = Scripting::global_vm;
 
   sq_pushroottable(vm);