v0.6.1: ethereal chains can now pull to solids at diagonals as well
This commit is contained in:
parent
a0a0a108f5
commit
579dbf19f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user