moved some sprites to separate files
[supertux.git] / src / scripting / script_interpreter.cpp
index af17653..1047ed7 100644 (file)
@@ -123,8 +123,6 @@ void
 ScriptInterpreter::run_script(std::istream& in, const std::string& sourcename,
         bool remove_when_terminated)
 {
-  printf("Stackbefore:\n");
-  print_squirrel_stack(v);
   if(sq_compile(v, squirrel_read_char, &in, sourcename.c_str(), true) < 0)
     throw Scripting::SquirrelError(v, "Couldn't parse script");
  
@@ -137,12 +135,9 @@ ScriptInterpreter::run_script(std::istream& in, const std::string& sourcename,
     if(remove_when_terminated) {
       remove_me();
     }
-    printf("ended.\n");
     // remove closure from stack
     sq_pop(v, 1);
   }
-  printf("After:\n");
-  print_squirrel_stack(v);
 }
 
 void