[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:
Arthorius 2008-11-09 09:41:31 +03:00 committed by VladimirMangos
parent eb05f7d5eb
commit 397d855569
2 changed files with 3 additions and 2 deletions

View file

@ -2567,6 +2567,7 @@ void Aura::HandleAuraModShapeshift(bool apply, bool Real)
}
else
{
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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6808"
#define REVISION_NR "6809"
#endif // __REVISION_NR_H__