[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; --aura;
if ( (caster = (*aura)->GetCaster()) && if ( (caster = (*aura)->GetCaster()) &&
caster->IsInMap(this) && caster->isTargetableForAttack() && caster->isInAccessablePlaceFor(this) ) caster->IsInMap(this) && caster->isTargetableForAttack() && caster->isInAccessablePlaceFor((Creature*)this) )
{ {
target = caster; target = caster;
break; break;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7104" #define REVISION_NR "7105"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__