mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
[Bug Fix] Illusions will now properly display armor to other clients when they zone in. (#1958)
* Fix for illusion wear change On zone in, mobs with illusions were not displaying correct armor. * [Bug Fix] Illusions will now properly display armor to other clients when they zone in better looping
This commit is contained in:
@@ -4686,6 +4686,25 @@ void EntityList::SendAppearanceEffects(Client *c)
|
||||
}
|
||||
}
|
||||
|
||||
void EntityList::SendIllusionWearChange(Client *c)
|
||||
{
|
||||
if (!c) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (auto &e : mob_list) {
|
||||
auto &mob = e.second;
|
||||
|
||||
if (mob) {
|
||||
if (mob == c) {
|
||||
continue;
|
||||
}
|
||||
|
||||
mob->SendIllusionWearChange(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EntityList::ZoneWho(Client *c, Who_All_Struct *Who)
|
||||
{
|
||||
// This is only called for SoF clients, as regular /who is now handled server-side for that client.
|
||||
|
||||
Reference in New Issue
Block a user