Core vicinity buildup system

This commit is contained in:
Anuken
2022-04-11 12:14:17 -04:00
parent bdeef68a0b
commit 6fe71dfe9c
12 changed files with 86 additions and 16 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ public class Pathfinder implements Runnable{
}
}
//the other tile is no longer near solid, remove the solid bit
if(!otherNearSolid){
if(!otherNearSolid && tiles.length > other.array()){
tiles[other.array()] &= ~(PathTile.bitMaskNearSolid);
}
}