From 7dcaef5a5a49865e0140285a19c7da9f73cdd7be Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 18 Apr 2017 11:38:09 +0800 Subject: [PATCH] [Client] Init world processors --- apps/openmw/mwmp/ProcessorInitializer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwmp/ProcessorInitializer.cpp b/apps/openmw/mwmp/ProcessorInitializer.cpp index 5a10951b9..f569fc77a 100644 --- a/apps/openmw/mwmp/ProcessorInitializer.cpp +++ b/apps/openmw/mwmp/ProcessorInitializer.cpp @@ -29,7 +29,7 @@ #include "processors/player/ProcessorUserDisconnected.hpp" #include "processors/player/ProcessorUserMyID.hpp" -/*#include "WorldProcessor.hpp" +#include "WorldProcessor.hpp" #include "processors/world/ProcessorContainer.hpp" #include "processors/world/ProcessorDoorState.hpp" #include "processors/world/ProcessorMusicPlay.hpp" @@ -45,7 +45,7 @@ #include "processors/world/ProcessorScriptLocalFloat.hpp" #include "processors/world/ProcessorScriptLocalShort.hpp" #include "processors/world/ProcessorScriptMemberShort.hpp" -#include "processors/world/ProcessorVideoPlay.hpp"*/ +#include "processors/world/ProcessorVideoPlay.hpp" using namespace mwmp; @@ -76,7 +76,7 @@ void ProcessorInitializer() PlayerProcessor::AddProcessor(new ProcessorUserDisconnected()); PlayerProcessor::AddProcessor(new ProcessorUserMyID()); - /*WorldProcessor::AddProcessor(new ProcessorContainer()); + WorldProcessor::AddProcessor(new ProcessorContainer()); WorldProcessor::AddProcessor(new ProcessorDoorState()); WorldProcessor::AddProcessor(new ProcessorMusicPlay()); WorldProcessor::AddProcessor(new ProcessorObjectAnimPlay()); @@ -91,5 +91,5 @@ void ProcessorInitializer() WorldProcessor::AddProcessor(new ProcessorScriptLocalFloat()); WorldProcessor::AddProcessor(new ProcessorScriptLocalShort()); WorldProcessor::AddProcessor(new ProcessorScriptMemberShort()); - WorldProcessor::AddProcessor(new ProcessorVideoPlay());*/ + WorldProcessor::AddProcessor(new ProcessorVideoPlay()); } \ No newline at end of file