[Server] Fix logic in Cell::sendToLoaded()

This commit is contained in:
David Cernat 2017-04-06 08:27:04 +03:00
parent fae3bcaeeb
commit 8616323bae

View file

@ -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);
}
}