mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Merge pull request #1177 from hgtw/fix/door-packets
[Bugfix] Don't respawn doors while clients are zoning
This commit is contained in:
commit
7d40e42cc2
@ -2511,7 +2511,7 @@ void EntityList::DespawnAllDoors()
|
|||||||
auto outapp = new EQApplicationPacket(OP_RemoveAllDoors, 0);
|
auto outapp = new EQApplicationPacket(OP_RemoveAllDoors, 0);
|
||||||
for (auto it = client_list.begin(); it != client_list.end(); ++it) {
|
for (auto it = client_list.begin(); it != client_list.end(); ++it) {
|
||||||
if (it->second) {
|
if (it->second) {
|
||||||
it->second->QueuePacket(outapp);
|
it->second->QueuePacket(outapp, true, Client::CLIENT_CONNECTED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
safe_delete(outapp);
|
safe_delete(outapp);
|
||||||
@ -2524,7 +2524,7 @@ void EntityList::RespawnAllDoors()
|
|||||||
if (it->second) {
|
if (it->second) {
|
||||||
auto outapp = new EQApplicationPacket();
|
auto outapp = new EQApplicationPacket();
|
||||||
MakeDoorSpawnPacket(outapp, it->second);
|
MakeDoorSpawnPacket(outapp, it->second);
|
||||||
it->second->FastQueuePacket(&outapp);
|
it->second->FastQueuePacket(&outapp, true, Client::CLIENT_CONNECTED);
|
||||||
}
|
}
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user