fix typo
This commit is contained in:
1 parent
9d4a1ddc10
commit
c7d5c24bfe
1 file changed
+1
-1
@@ -1694,7 +1694,7 @@ float WorldObject::GetGridActivationRange() const
|
||||
{
|
||||
if (isActiveObject())
|
||||
{
|
||||
if (GetTypeId() == TYPEID_PLAYER && ToPlayer()->GetCinematicMgr->IsOnCinematic())
|
||||
if (GetTypeId() == TYPEID_PLAYER && ToPlayer()->GetCinematicMgr()->IsOnCinematic())
|
||||
return std::max(DEFAULT_VISIBILITY_INSTANCE, GetMap()->GetVisibilityRange());
|
||||
|
||||
return GetMap()->GetVisibilityRange();
|
||||
|
||||
Reference in new issue
Block a user