[7105] Compile fix.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-01-18 19:37:06 +01:00
parent 39754133aa
commit 6428d29cd5
2 changed files with 2 additions and 2 deletions

View file

@ -9282,7 +9282,7 @@ bool Unit::SelectHostilTarget()
{
--aura;
if ( (caster = (*aura)->GetCaster()) &&
caster->IsInMap(this) && caster->isTargetableForAttack() && caster->isInAccessablePlaceFor(this) )
caster->IsInMap(this) && caster->isTargetableForAttack() && caster->isInAccessablePlaceFor((Creature*)this) )
{
target = caster;
break;