[10663] Fix totem animation at normal unsummon.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
eggxp 2010-11-01 02:25:10 +03:00 committed by VladimirMangos
parent f48e768a70
commit 6f2625c258
2 changed files with 5 additions and 1 deletions

View file

@ -106,6 +106,10 @@ void Totem::UnSummon()
((Creature*)owner)->AI()->SummonedCreatureDespawn((Creature*)this); ((Creature*)owner)->AI()->SummonedCreatureDespawn((Creature*)this);
} }
// any totem unsummon look like as totem kill, req. for proper animation
if (isAlive())
SetDeathState(DEAD);
AddObjectToRemoveList(); AddObjectToRemoveList();
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10662" #define REVISION_NR "10663"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__