v0.5.0a: chasm areas are now discoverable
This commit is contained in:
parent
2616e02c99
commit
f0fa0ec1b7
|
@ -614,18 +614,6 @@ public abstract class Level implements Bundlable {
|
|||
}
|
||||
}
|
||||
|
||||
if (d) {
|
||||
d = false;
|
||||
|
||||
for (int j=0; j < PathFinder.NEIGHBOURS9.length; j++) {
|
||||
int n = i + PathFinder.NEIGHBOURS9[j];
|
||||
if (n >= 0 && n < length() && !pit[n]) {
|
||||
d = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
discoverable[i] = d;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user