updated libxml2 win32 package to 2.6.24
[xonotic/netradiant.git] / plugins / md3model / plugin.cpp
index 42c2a92e4784a20efddd59ae81c83e2bf77901a2..dbdff93591137bd89bdaacb183bb61c243d63d8d 100644 (file)
@@ -236,10 +236,7 @@ ModelMD5Module g_ModelMD5Module;
 
 extern "C" void RADIANT_DLLEXPORT Radiant_RegisterModules(ModuleServer& server)
 {
-  GlobalErrorStream::instance().setOutputStream(server.getErrorStream());
-  GlobalOutputStream::instance().setOutputStream(server.getOutputStream());
-  GlobalDebugMessageHandler::instance().setHandler(server.getDebugMessageHandler());
-  GlobalModuleServer::instance().set(server);
+  initialiseModule(server);
 
   g_ModelMD3Module.selfRegister();
   g_ModelMD2Module.selfRegister();