*Update bind sight spells code.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-10 15:26:17 -06:00
1 parent fec6be8a74
commit 167ca565d0
11 files changed
+56 -59

No files matched your search

+1 -1
View File
@@ -754,7 +754,7 @@ bool GameObject::isVisibleForInState(Player const* u, bool inVisibleList) const
}
// check distance
return IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject() +
return IsWithinDistInMap(u->m_seer,World::GetMaxVisibleDistanceForObject() +
(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false);
}