aboutsummaryrefslogtreecommitdiff
path: root/src/game/TotemAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-28 20:16:11 -0600
committermegamage <none@none>2009-01-28 20:16:11 -0600
commit30c5bff102bc089bcc18677352bf506ac0219111 (patch)
treee06486f994a3b64ee6f971d495c5230e5b5ab6d4 /src/game/TotemAI.cpp
parent3a229014dca17012b623d5d4524ba8a5e069822f (diff)
*Fix critter AI.
*Some AI structure change. --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)
{
}