v0.8.2b: fully allowed wraiths to spawn ontop of traps

This commit is contained in:
Evan Debenham 2020-08-17 10:59:30 -04:00
parent 1f06f09175
commit 5387559191

View File

@ -95,10 +95,7 @@ public class Wraith extends Mob {
public static void spawnAround( int pos ) {
for (int n : PathFinder.NEIGHBOURS4) {
int cell = pos + n;
if (Dungeon.level.passable[cell] && Actor.findChar( cell ) == null) {
spawnAt( cell );
}
spawnAt( pos + n );
}
}