aboutsummaryrefslogtreecommitdiff
path: root/src/game/GuardAI.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/GuardAI.cpp
parent25ab1fa4adfe1e9be1f8bfb6701f6a0d48887770 (diff)
parentadee7cab17e191ab9d735c326cd611f0380736d6 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/GuardAI.cpp')
-rw-r--r--src/game/GuardAI.cpp2
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)
{
}