Extra check for prohibiting entering siegable zones.
This commit is contained in:
@@ -872,8 +872,8 @@ public class GeoEngine
|
||||
return new GeoLocation(gtx, gty, gtz);
|
||||
}
|
||||
|
||||
// path found, Z coordinates are not okay, return origin point
|
||||
return new GeoLocation(gox, goy, goz);
|
||||
// path found, Z coordinates are not okay, return last good point
|
||||
return new GeoLocation(gpx, gpy, gpz);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user