v0.7.5: fixed worn dart traps being hidden when they shouldn't be
This commit is contained in:
parent
ed16f0697b
commit
9eb83ec076
|
@ -183,7 +183,7 @@ public class TalismanOfForesight extends Artifact {
|
|||
if (Dungeon.level.heroFOV[p]
|
||||
&& Dungeon.level.secret[p]
|
||||
&& Dungeon.level.map[p] != Terrain.SECRET_DOOR) {
|
||||
if (Dungeon.level.traps.get(p) == null || Dungeon.level.traps.get(p).canBeSearched) {
|
||||
if (Dungeon.level.traps.get(p) != null && Dungeon.level.traps.get(p).canBeSearched) {
|
||||
smthFound = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,6 +38,8 @@ public class WornDartTrap extends Trap {
|
|||
{
|
||||
color = GREY;
|
||||
shape = CROSSHAIR;
|
||||
|
||||
//canBeHidden = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user