mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6808"
|
||||
#define REVISION_NR "6809"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue