mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7105] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
39754133aa
commit
6428d29cd5
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue