mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[Client] Fix ProcessorContainer typos caused by careless copy-pasting
This commit is contained in:
parent
7b97e8671d
commit
1e3c4fd488
@ -28,7 +28,7 @@ namespace mwmp
|
|||||||
event.cell.getDescription().c_str());
|
event.cell.getDescription().c_str());
|
||||||
event.reset();
|
event.reset();
|
||||||
event.cell = *ptrCellStore->getCell();
|
event.cell = *ptrCellStore->getCell();
|
||||||
event.action = event.action == mwmp::BaseEvent::SET;
|
event.action = mwmp::BaseEvent::SET;
|
||||||
event.addAllContainers(ptrCellStore);
|
event.addAllContainers(ptrCellStore);
|
||||||
event.sendContainer();
|
event.sendContainer();
|
||||||
}
|
}
|
||||||
@ -38,14 +38,14 @@ namespace mwmp
|
|||||||
std::vector<WorldObject> requestObjects = event.worldObjects;
|
std::vector<WorldObject> requestObjects = event.worldObjects;
|
||||||
event.reset();
|
event.reset();
|
||||||
event.cell = *ptrCellStore->getCell();
|
event.cell = *ptrCellStore->getCell();
|
||||||
event.action = event.action == mwmp::BaseEvent::SET;
|
event.action = mwmp::BaseEvent::SET;
|
||||||
event.addRequestedContainers(ptrCellStore, requestObjects);
|
event.addRequestedContainers(ptrCellStore, requestObjects);
|
||||||
|
|
||||||
if (event.worldObjects.size() > 0)
|
if (event.worldObjects.size() > 0)
|
||||||
event.sendContainer();
|
event.sendContainer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Otherwise, edit containers based on the information received
|
// Otherwise, edit containers based on the information received
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_APPEND(Log::LOG_VERBOSE, "- Editing container contents to match those of packet", event.worldObjectCount);
|
LOG_APPEND(Log::LOG_VERBOSE, "- Editing container contents to match those of packet", event.worldObjectCount);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user