mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone. (#1883)
* fix part1 * updates * Update inventory.cpp * fixed * Update inventory.cpp * update * [Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone.
This commit is contained in:
@@ -495,6 +495,8 @@ Mob::Mob(
|
||||
use_double_melee_round_dmg_bonus = false;
|
||||
dw_same_delay = 0;
|
||||
|
||||
queue_wearchange_slot = -1;
|
||||
|
||||
#ifdef BOTS
|
||||
m_manual_follow = false;
|
||||
#endif
|
||||
@@ -3168,6 +3170,16 @@ bool Mob::UpdateActiveLight()
|
||||
return (m_Light.Level[EQ::lightsource::LightActive] != old_light_level);
|
||||
}
|
||||
|
||||
void Mob::SendWearChangeAndLighting(int8 last_texture) {
|
||||
|
||||
for (int i = EQ::textures::textureBegin; i <= last_texture; i++) {
|
||||
SendWearChange(i);
|
||||
}
|
||||
UpdateActiveLight();
|
||||
SendAppearancePacket(AT_Light, GetActiveLightType());
|
||||
|
||||
}
|
||||
|
||||
void Mob::ChangeSize(float in_size = 0, bool bNoRestriction) {
|
||||
// Size Code
|
||||
if (!bNoRestriction)
|
||||
|
||||
Reference in New Issue
Block a user