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,6 +2567,7 @@ void Aura::HandleAuraModShapeshift(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(modelid > 0)
|
||||||
m_target->SetDisplayId(m_target->GetNativeDisplayId());
|
m_target->SetDisplayId(m_target->GetNativeDisplayId());
|
||||||
m_target->SetByteValue(UNIT_FIELD_BYTES_2, 3, FORM_NONE);
|
m_target->SetByteValue(UNIT_FIELD_BYTES_2, 3, FORM_NONE);
|
||||||
if(m_target->getClass() == CLASS_DRUID)
|
if(m_target->getClass() == CLASS_DRUID)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6808"
|
#define REVISION_NR "6809"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue