From 1e3c4fd488c140745626cf1ba843f646c46de75e Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 1 Apr 2018 10:47:57 +0300 Subject: [PATCH] [Client] Fix ProcessorContainer typos caused by careless copy-pasting --- apps/openmw/mwmp/processors/world/ProcessorContainer.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwmp/processors/world/ProcessorContainer.hpp b/apps/openmw/mwmp/processors/world/ProcessorContainer.hpp index bce080716..02a2fb8db 100644 --- a/apps/openmw/mwmp/processors/world/ProcessorContainer.hpp +++ b/apps/openmw/mwmp/processors/world/ProcessorContainer.hpp @@ -28,7 +28,7 @@ namespace mwmp event.cell.getDescription().c_str()); event.reset(); event.cell = *ptrCellStore->getCell(); - event.action = event.action == mwmp::BaseEvent::SET; + event.action = mwmp::BaseEvent::SET; event.addAllContainers(ptrCellStore); event.sendContainer(); } @@ -38,14 +38,14 @@ namespace mwmp std::vector requestObjects = event.worldObjects; event.reset(); event.cell = *ptrCellStore->getCell(); - event.action = event.action == mwmp::BaseEvent::SET; + event.action = mwmp::BaseEvent::SET; event.addRequestedContainers(ptrCellStore, requestObjects); if (event.worldObjects.size() > 0) event.sendContainer(); } } - // Otherwise, edit containers based on the information received + // Otherwise, edit containers based on the information received else { LOG_APPEND(Log::LOG_VERBOSE, "- Editing container contents to match those of packet", event.worldObjectCount);