aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 28713ae59d9..bc437a4b88b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -10467,15 +10467,15 @@ void Unit::setDeathState(DeathState s)
if(IsNonMeleeSpellCasted(false))
InterruptNonMeleeSpells(false);
- }
- if (s == JUST_DIED)
- {
UnsummonAllTotems();
RemoveAllControlled();
RemoveAllAurasOnDeath();
ExitVehicle();
+ }
+ if (s == JUST_DIED)
+ {
ModifyAuraState(AURA_STATE_HEALTHLESS_20_PERCENT, false);
ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
// remove aurastates allowing special moves