Skip to content

Commit 2f330f9

Browse files
author
Alex Smith
committed
Fix overwriting engravings
Ignore-this: e22e3dabbe5fcd44b7277648b3d2b1a3 darcs-hash:20111231120326-b78f9-fee6ae364e3430332ceb828a5152ebe984c7fe9b
1 parent b4a1f83 commit 2f330f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engrave.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ boolean hept;
10161016
}
10171017
}
10181018

1019-
if (oep && (c == 'r' || Blind || type != oep->engr_type)) {
1019+
if (oep && (c == 'o' || Blind || type != oep->engr_type)) {
10201020
if( (oep->engr_type == DUST) || (oep->engr_type == ENGR_BLOOD) ||
10211021
(oep->engr_type == MARK) ) {
10221022
if (!Blind) {
@@ -1038,7 +1038,7 @@ boolean hept;
10381038
"engraved in", surface(u.ux,u.uy));
10391039
return(1);
10401040
} else
1041-
if ( (type != oep->engr_type) || (c == 'r') ) {
1041+
if ( (type != oep->engr_type) || (c == 'o') ) {
10421042
if (!Blind || can_reach_floor())
10431043
You("will overwrite the current message.");
10441044
eow = TRUE;

0 commit comments

Comments
 (0)