mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 23:20:25 +00:00
SendIllusion Update Internal Values (#1130)
* Fix scenarios where quest calls to SendIllusion also update internal values so that new clients that zone in see the correct appearance * Typo [skip ci]
This commit is contained in:
+2
-2
@@ -1322,8 +1322,8 @@ void EntityList::SendZoneSpawnsBulk(Client *client)
|
||||
const glm::vec4 &client_position = client->GetPosition();
|
||||
const float distance_max = (600.0 * 600.0);
|
||||
|
||||
for (auto it = mob_list.begin(); it != mob_list.end(); ++it) {
|
||||
spawn = it->second;
|
||||
for (auto & it : mob_list) {
|
||||
spawn = it.second;
|
||||
if (spawn && spawn->GetID() > 0 && spawn->Spawned()) {
|
||||
if (!spawn->ShouldISpawnFor(client)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user