mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Merge pull request #407 from noudess/master
The mob AT_Anim (as set in spawn2) was not working in some cases.
This commit is contained in:
+4
-6
@@ -2040,12 +2040,10 @@ const int32& Mob::SetMana(int32 amount)
|
||||
|
||||
|
||||
void Mob::SetAppearance(EmuAppearance app, bool iIgnoreSelf) {
|
||||
if (_appearance != app) {
|
||||
_appearance = app;
|
||||
SendAppearancePacket(AT_Anim, GetAppearanceValue(app), true, iIgnoreSelf);
|
||||
if (this->IsClient() && this->IsAIControlled())
|
||||
SendAppearancePacket(AT_Anim, ANIM_FREEZE, false, false);
|
||||
}
|
||||
_appearance = app;
|
||||
SendAppearancePacket(AT_Anim, GetAppearanceValue(app), true, iIgnoreSelf);
|
||||
if (this->IsClient() && this->IsAIControlled())
|
||||
SendAppearancePacket(AT_Anim, ANIM_FREEZE, false, false);
|
||||
}
|
||||
|
||||
bool Mob::UpdateActiveLight()
|
||||
|
||||
Reference in New Issue
Block a user