Fix mention_walls reporting secret doors as solid stone
This commit is contained in:
@@ -443,6 +443,7 @@ fix buffer overflow in wizard mode for '#' command when 'extmenu' option is on
|
|||||||
"you suddenly vomit" was given two turns before actually vomiting, so you
|
"you suddenly vomit" was given two turns before actually vomiting, so you
|
||||||
could get that message, move a bit, then get "you can move again"
|
could get that message, move a bit, then get "you can move again"
|
||||||
after the 2 turn freeze applied along with the actual vomit
|
after the 2 turn freeze applied along with the actual vomit
|
||||||
|
fix mention_walls reporting secret doors as solid walls
|
||||||
|
|
||||||
|
|
||||||
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
+4
-3
@@ -722,9 +722,10 @@ int mode;
|
|||||||
&& In_sokoban(&u.uz))
|
&& In_sokoban(&u.uz))
|
||||||
pline_The("Sokoban walls resist your ability.");
|
pline_The("Sokoban walls resist your ability.");
|
||||||
else if (iflags.mention_walls)
|
else if (iflags.mention_walls)
|
||||||
pline("It's %s.", IS_WALL(tmpr->typ) ? "a wall"
|
pline("It's %s.",
|
||||||
: IS_TREE(tmpr->typ) ? "a tree"
|
(IS_WALL(tmpr->typ) || tmpr->typ == SDOOR) ? "a wall"
|
||||||
: "solid stone");
|
: IS_TREE(tmpr->typ) ? "a tree"
|
||||||
|
: "solid stone");
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user