From 8616323baeea0a6ae3515e299a2d132442571f04 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 6 Apr 2017 08:27:04 +0300 Subject: [PATCH] [Server] Fix logic in Cell::sendToLoaded() --- apps/openmw-mp/Cell.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/openmw-mp/Cell.cpp b/apps/openmw-mp/Cell.cpp index 81427b306..e3521b9cf 100644 --- a/apps/openmw-mp/Cell.cpp +++ b/apps/openmw-mp/Cell.cpp @@ -67,9 +67,12 @@ void Cell::sendToLoaded(mwmp::WorldPacket *worldPacket, mwmp::BaseEvent *baseEve for (auto pl : plList) { if (pl->guid == baseEvent->guid) continue; + worldPacket->setEvent(baseEvent); worldPacket->setGUID(pl->guid); - worldPacket->Send(); + + // Send the packet to this eligible guid + worldPacket->Send(false); } }