aboutsummaryrefslogtreecommitdiff
path: root/src/game/UnitAI.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-03-09 11:11:10 +0100
committerSpp <none@none>2010-03-09 11:11:10 +0100
commit8034a6c48ea565345cd769422bb80acf5df015e4 (patch)
tree41ca28853f2c124a3b6c07b0d917538f80118bcd /src/game/UnitAI.h
parentc716c0e5e59f5e37f8e46822d77555768f23633a (diff)
Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos) Closes issue #411 --HG-- branch : trunk
Diffstat (limited to 'src/game/UnitAI.h')
-rw-r--r--src/game/UnitAI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/UnitAI.h b/src/game/UnitAI.h
index 48d8aab385e..099b3fb88fa 100644
--- a/src/game/UnitAI.h
+++ b/src/game/UnitAI.h
@@ -72,15 +72,15 @@ class UnitAI
// predicate shall extend std::unary_function<Unit *, bool>
template<class PREDICATE> Unit* SelectTarget(SelectAggroTarget targetType, uint32 position, PREDICATE predicate)
{
- const std::list<HostilReference *> &threatlist = me->getThreatManager().getThreatList();
+ const std::list<HostileReference *> &threatlist = me->getThreatManager().getThreatList();
std::list<Unit*> targetList;
if (position >= threatlist.size())
return NULL;
- for (std::list<HostilReference*>::const_iterator itr = threatlist.begin(); itr != threatlist.end(); ++itr)
+ for (std::list<HostileReference*>::const_iterator itr = threatlist.begin(); itr != threatlist.end(); ++itr)
{
- HostilReference* ref = (*itr);
+ HostileReference* ref = (*itr);
if (predicate(ref->getTarget()))
targetList.push_back(ref->getTarget());
}