Minor comment changes.
This commit is contained in:
@@ -104,7 +104,7 @@ public abstract class PathFinding
|
||||
int end_x = end.getLoc().getX();
|
||||
int end_y = end.getLoc().getY();
|
||||
//List of Visited Nodes
|
||||
FastNodeList visited = new FastNodeList(800);//TODO! Add limit to cfg
|
||||
FastNodeList visited = new FastNodeList(800); // TODO! Add limit to cfg
|
||||
|
||||
// List of Nodes to Visit
|
||||
BinaryNodeHeap to_visit = new BinaryNodeHeap(800);
|
||||
|
||||
@@ -349,7 +349,7 @@ public class GeoPathFinding extends PathFinding
|
||||
final ByteBuffer pn = _pathNodes.get(regoffset);
|
||||
// reading
|
||||
final byte nodes = pn.get(idx);
|
||||
idx += (layer * 10) + 1;// byte + layer*10byte
|
||||
idx += (layer * 10) + 1; // byte + layer*10byte
|
||||
if (nodes < layer)
|
||||
{
|
||||
_log.warning("SmthWrong!");
|
||||
|
||||
Reference in New Issue
Block a user