mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-01 19:42:28 +00:00
Fix edge case with door packets that can cause missing doors on clients
Send OP_RemoveAllDoors packets with default CLIENT_CONNECTINGALL flag to match flag used for OP_SpawnDoor
This commit is contained in:
parent
0aa8d90e9e
commit
b08dc02a0a
@ -2506,7 +2506,11 @@ void EntityList::RemoveAllDoors()
|
|||||||
void EntityList::DespawnAllDoors()
|
void EntityList::DespawnAllDoors()
|
||||||
{
|
{
|
||||||
auto outapp = new EQApplicationPacket(OP_RemoveAllDoors, 0);
|
auto outapp = new EQApplicationPacket(OP_RemoveAllDoors, 0);
|
||||||
this->QueueClients(0,outapp);
|
for (auto it = client_list.begin(); it != client_list.end(); ++it) {
|
||||||
|
if (it->second) {
|
||||||
|
it->second->QueuePacket(outapp);
|
||||||
|
}
|
||||||
|
}
|
||||||
safe_delete(outapp);
|
safe_delete(outapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user