mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 05:12:17 +00:00
Implemented mob equipment light sources
This commit is contained in:
1 parent
7e980e1e7c
commit
cc1d7d54c2
23 files changed
+286
-35
No files matched your search
+11
-2
@@ -731,12 +731,21 @@ void Client::CompleteConnect()
|
||||
entity_list.SendUntargetable(this);
|
||||
|
||||
int x;
|
||||
for (x = 0; x < 8; x++)
|
||||
for (x = 0; x < 8; x++) {
|
||||
SendWearChange(x);
|
||||
}
|
||||
// added due to wear change above
|
||||
UpdateActiveLightValue();
|
||||
SendAppearancePacket(AT_Light, GetActiveLightValue());
|
||||
|
||||
Mob *pet = GetPet();
|
||||
if (pet != nullptr) {
|
||||
for (x = 0; x < 8; x++)
|
||||
for (x = 0; x < 8; x++) {
|
||||
pet->SendWearChange(x);
|
||||
}
|
||||
// added due to wear change above
|
||||
pet->UpdateActiveLightValue();
|
||||
pet->SendAppearancePacket(AT_Light, pet->GetActiveLightValue());
|
||||
}
|
||||
|
||||
entity_list.SendTraders(this);
|
||||
|
||||
Reference in new issue
Block a user