Minor comment changes.

This commit is contained in:
MobiusDev
2016-02-19 10:49:35 +00:00
parent 18f610bb3d
commit 66c104b88b
33 changed files with 85 additions and 85 deletions

View File

@@ -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);

View File

@@ -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!");