Replace tabs with spaces, and fix crlf issues
--HG-- branch : trunk
This commit is contained in:
1 parent
edbfb386ce
commit
4d008f2043
379 files changed
+2233
-2233
No files matched your search
@@ -156,7 +156,7 @@ void DynamicObject::Delay(int32 delaytime)
|
||||
|
||||
bool DynamicObject::isVisibleForInState(Player const* u, bool inVisibleList) const
|
||||
{
|
||||
return IsInWorld() && u->IsInWorld()
|
||||
return IsInWorld() && u->IsInWorld()
|
||||
&& (IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject()+(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false)
|
||||
|| GetCasterGUID() == u->GetGUID());
|
||||
}
|
||||
Reference in new issue
Block a user