aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
authorgvcoman <none@none>2008-11-21 14:34:05 -0500
committergvcoman <none@none>2008-11-21 14:34:05 -0500
commitae8a27bbb758dd2485d9bea14ccd8b892f626371 (patch)
tree213402aa6ce31963a4a329cbb261fd88db6a0bdd /src/game/Totem.cpp
parent837ce55de88e33825eb66814d07d33c1f869f7a7 (diff)
parent71707df1dec2aa77864d9a853c34108bb6021138 (diff)
Merged commit 269 (5f0e38da128a).
--HG-- branch : trunk
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r--src/game/Totem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp
index 4f8b03827ae..73ae274644e 100644
--- a/src/game/Totem.cpp
+++ b/src/game/Totem.cpp
@@ -97,6 +97,9 @@ void Totem::Summon(Unit* owner)
case TOTEM_STATUE: CastSpell(GetOwner(), GetSpell(), true); break;
default: break;
}
+
+ if(GetEntry() == SENTRY_TOTEM_ENTRY)
+ SetAggressive(true);
}
void Totem::UnSummon()