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/GuardAI.cpp | |
parent | 3a229014dca17012b623d5d4524ba8a5e069822f (diff) |
*Fix critter AI.
*Some AI structure change.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GuardAI.cpp')
-rw-r--r-- | src/game/GuardAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GuardAI.cpp b/src/game/GuardAI.cpp index 806b4a1a112..e5a7ce87092 100644 --- a/src/game/GuardAI.cpp +++ b/src/game/GuardAI.cpp @@ -33,7 +33,7 @@ int GuardAI::Permissible(const Creature *creature) return PERMIT_BASE_NO; } -GuardAI::GuardAI(Creature &c) : i_creature(c), i_victimGuid(0), i_state(STATE_NORMAL), i_tracker(TIME_INTERVAL_LOOK) +GuardAI::GuardAI(Creature *c) : i_creature(*c), i_victimGuid(0), i_state(STATE_NORMAL), i_tracker(TIME_INTERVAL_LOOK) { } |