Revert "Proposed fix for coverity #29372" because of causing Segmentation
[supertux.git] / src / scripting / functions.cpp
index 216aeb6..893191b 100644 (file)
@@ -44,7 +44,7 @@ namespace scripting {
 
 SQInteger display(HSQUIRRELVM vm)
 {
-  Console::output << squirrel2string(vm, -1) << std::endl;
+  ConsoleBuffer::output << squirrel2string(vm, -1) << std::endl;
   return 0;
 }