Sync with L2jServer HighFive Sep 18th 2015.
This commit is contained in:
@@ -375,8 +375,7 @@ public class GeoData
|
||||
// check if the position has geodata
|
||||
if (hasGeoPos(curX, curY))
|
||||
{
|
||||
int beeCurGeoZ = getNearestZ(curX, curY, beeCurZ);
|
||||
int nswe = GeoUtils.computeNswe(prevX, prevY, curX, curY);// .computeDirection(prevX, prevY, curX, curY);
|
||||
int nswe = GeoUtils.computeNswe(prevX, prevY, curX, curY);
|
||||
curGeoZ = getLosGeoZ(prevX, prevY, prevGeoZ, curX, curY, nswe);
|
||||
int maxHeight;
|
||||
if (ptIndex < ELEVATED_SEE_OVER_DISTANCE)
|
||||
@@ -389,7 +388,7 @@ public class GeoData
|
||||
}
|
||||
|
||||
boolean canSeeThrough = false;
|
||||
if ((curGeoZ <= maxHeight) && (curGeoZ <= beeCurGeoZ))
|
||||
if (curGeoZ <= maxHeight)
|
||||
{
|
||||
if ((nswe & Cell.NSWE_NORTH_EAST) == Cell.NSWE_NORTH_EAST)
|
||||
{
|
||||
|
Reference in New Issue
Block a user