From 6f2625c258c07d513c793e6549c9916d28f53971 Mon Sep 17 00:00:00 2001 From: eggxp Date: Mon, 1 Nov 2010 02:25:10 +0300 Subject: [PATCH] [10663] Fix totem animation at normal unsummon. Signed-off-by: VladimirMangos --- src/game/Totem.cpp | 4 ++++ src/shared/revision_nr.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 87cb0d56c..95c94788a 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -106,6 +106,10 @@ void Totem::UnSummon() ((Creature*)owner)->AI()->SummonedCreatureDespawn((Creature*)this); } + // any totem unsummon look like as totem kill, req. for proper animation + if (isAlive()) + SetDeathState(DEAD); + AddObjectToRemoveList(); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 89c649206..91375e54b 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10662" + #define REVISION_NR "10663" #endif // __REVISION_NR_H__