v0.6.1: ethereal chains can now pull to solids at diagonals as well

This commit is contained in:
Evan Debenham 2017-06-22 16:06:57 -04:00
parent a0a0a108f5
commit 579dbf19f8

View File

@ -189,7 +189,7 @@ public class EtherealChains extends Artifact {
//don't pull if there are no solid objects next to the pull location
boolean solidFound = false;
for (int i : PathFinder.NEIGHBOURS4){
for (int i : PathFinder.NEIGHBOURS8){
if (Level.solid[chain.collisionPos + i]){
solidFound = true;
break;