fixed build
This commit is contained in:
1 parent
69907a6d6d
commit
1e3d9c5fff
1 file changed
+1
-2
@@ -2644,10 +2644,9 @@ bool GameObject::IsAtInteractDistance(Position const& pos, float radius) const
|
||||
|
||||
bool GameObject::IsWithinDistInMap(Player const* player) const
|
||||
{
|
||||
return IsInMap(this) && InSamePhase(this) && IsAtInteractDistance(player);
|
||||
return IsInMap(this) && IsInPhase(player) && IsAtInteractDistance(player);
|
||||
}
|
||||
|
||||
|
||||
SpellInfo const* GameObject::GetSpellForLock(Player const* player) const
|
||||
{
|
||||
if (!player)
|
||||
|
||||
Reference in new issue
Block a user