diff options
author | megamage <none@none> | 2009-01-28 20:16:11 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-28 20:16:11 -0600 |
commit | 30c5bff102bc089bcc18677352bf506ac0219111 (patch) | |
tree | e06486f994a3b64ee6f971d495c5230e5b5ab6d4 /src/game/TotemAI.cpp | |
parent | 3a229014dca17012b623d5d4524ba8a5e069822f (diff) |
*Fix critter AI.
*Some AI structure change.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TotemAI.cpp')
-rw-r--r-- | src/game/TotemAI.cpp | 2 |
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) { } |