mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 23:17:16 +00:00
Move the extra appearance packet guard to SetAppearance
This commit is contained in:
1 parent
79a87fac1d
commit
553b7c9f8c
3 files changed
+7
-12
No files matched your search
@@ -2027,6 +2027,8 @@ const int32& Mob::SetMana(int32 amount)
|
||||
|
||||
|
||||
void Mob::SetAppearance(EmuAppearance app, bool iIgnoreSelf) {
|
||||
if (_appearance == app)
|
||||
return;
|
||||
_appearance = app;
|
||||
SendAppearancePacket(AT_Anim, GetAppearanceValue(app), true, iIgnoreSelf);
|
||||
if (this->IsClient() && this->IsAIControlled())
|
||||
|
||||
Reference in new issue
Block a user