mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[6809] Not reset display model at shapeshift aura remove if it not set at apply.
This must resolve problems with model reset at warrior stance switch. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
eb05f7d5eb
commit
397d855569
2 changed files with 3 additions and 2 deletions
|
|
@ -2567,7 +2567,8 @@ void Aura::HandleAuraModShapeshift(bool apply, bool Real)
|
|||
}
|
||||
else
|
||||
{
|
||||
m_target->SetDisplayId(m_target->GetNativeDisplayId());
|
||||
if(modelid > 0)
|
||||
m_target->SetDisplayId(m_target->GetNativeDisplayId());
|
||||
m_target->SetByteValue(UNIT_FIELD_BYTES_2, 3, FORM_NONE);
|
||||
if(m_target->getClass() == CLASS_DRUID)
|
||||
m_target->setPowerType(POWER_MANA);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue