From 30c5bff102bc089bcc18677352bf506ac0219111 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 28 Jan 2009 20:16:11 -0600 Subject: *Fix critter AI. *Some AI structure change. --HG-- branch : trunk --- src/game/TotemAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/TotemAI.cpp') 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(c)), i_victimGuid(0) +TotemAI::TotemAI(Creature *c) : i_totem(static_cast(*c)), i_victimGuid(0) { } -- cgit v1.2.3