mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 22:17:16 +00:00
Changes to how valid light sources are critiqued
This commit is contained in:
1 parent
e47f9d95b0
commit
1f0b86a0d5
20 files changed
+357
-159
No files matched your search
@@ -725,8 +725,8 @@ void Client::CompleteConnect()
|
||||
SendWearChange(x);
|
||||
}
|
||||
// added due to wear change above
|
||||
UpdateActiveLightValue();
|
||||
SendAppearancePacket(AT_Light, GetActiveLightValue());
|
||||
UpdateActiveLight();
|
||||
SendAppearancePacket(AT_Light, GetActiveLightType());
|
||||
|
||||
Mob *pet = GetPet();
|
||||
if (pet != nullptr) {
|
||||
@@ -734,8 +734,8 @@ void Client::CompleteConnect()
|
||||
pet->SendWearChange(x);
|
||||
}
|
||||
// added due to wear change above
|
||||
pet->UpdateActiveLightValue();
|
||||
pet->SendAppearancePacket(AT_Light, pet->GetActiveLightValue());
|
||||
pet->UpdateActiveLight();
|
||||
pet->SendAppearancePacket(AT_Light, pet->GetActiveLightType());
|
||||
}
|
||||
|
||||
entity_list.SendTraders(this);
|
||||
|
||||
Reference in new issue
Block a user