aboutsummaryrefslogtreecommitdiff
path: root/src/game/TotemAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-29 19:35:49 -0600
committermegamage <none@none>2009-01-29 19:35:49 -0600
commitb0bf621a139aaa6e620098fc7a4411a800fda43d (patch)
treea80cfed503a562c4e436814dc056e8b22386efef /src/game/TotemAI.cpp
parent25ab1fa4adfe1e9be1f8bfb6701f6a0d48887770 (diff)
parentadee7cab17e191ab9d735c326cd611f0380736d6 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/TotemAI.cpp')
-rw-r--r--src/game/TotemAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/TotemAI.cpp b/src/game/TotemAI.cpp
index 7b99a8f0358..72a43cfc97b 100644
--- a/src/game/TotemAI.cpp
+++ b/src/game/TotemAI.cpp
@@ -40,7 +40,7 @@ TotemAI::Permissible(const Creature *creature)
return PERMIT_BASE_NO;
}
-TotemAI::TotemAI(Creature &c) : i_totem(static_cast<Totem&>(c)), i_victimGuid(0)
+TotemAI::TotemAI(Creature *c) : i_totem(static_cast<Totem&>(*c)), i_victimGuid(0)
{
}