feat(Core/Maps): Improvements to Cinematic function (#10765)
This commit is contained in:
parent
f3e0d4e402
commit
7ad65752fa
18 changed files with 713 additions and 603 deletions
|
|
@ -1621,7 +1621,7 @@ float WorldObject::GetGridActivationRange() const
|
|||
{
|
||||
if (ToPlayer())
|
||||
{
|
||||
if (ToPlayer()->IsOnCinematic())
|
||||
if (ToPlayer()->GetCinematicMgr()->IsOnCinematic())
|
||||
{
|
||||
return DEFAULT_VISIBILITY_INSTANCE;
|
||||
}
|
||||
|
|
@ -1688,7 +1688,7 @@ float WorldObject::GetSightRange(WorldObject const* target) const
|
|||
{
|
||||
return MAX_VISIBILITY_DISTANCE;
|
||||
}
|
||||
else if (ToPlayer()->IsOnCinematic())
|
||||
else if (ToPlayer()->GetCinematicMgr()->IsOnCinematic())
|
||||
{
|
||||
return DEFAULT_VISIBILITY_INSTANCE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue