fix: Cleanup IPoint3D calls (#704)
This commit is contained in:
parent
788b04b958
commit
3293ffcf06
33 changed files with 158 additions and 264 deletions
|
|
@ -79,7 +79,7 @@ namespace Server.Network
|
|||
continue;
|
||||
}
|
||||
|
||||
if (sendLocations && Utility.InUpdateRange(from, m) && from.CanSee(m))
|
||||
if (sendLocations && Utility.InUpdateRange(from.Location, m.Location) && from.CanSee(m))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
@ -139,7 +139,7 @@ namespace Server.Network
|
|||
continue;
|
||||
}
|
||||
|
||||
if (Utility.InUpdateRange(from, mob) && from.CanSee(mob))
|
||||
if (Utility.InUpdateRange(from.Location, mob.Location) && from.CanSee(mob))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue