mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10663] Fix totem animation at normal unsummon.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
f48e768a70
commit
6f2625c258
2 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue