From 6428d29cd53d5e22ab3ddd63b16c458154128d12 Mon Sep 17 00:00:00 2001 From: ApoC Date: Sun, 18 Jan 2009 19:37:06 +0100 Subject: [PATCH] [7105] Compile fix. Signed-off-by: ApoC --- src/game/Unit.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 65e5a7390..6b021721d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cd34b43c9..f0965187e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7104" + #define REVISION_NR "7105" #endif // __REVISION_NR_H__