Skip to content

Commit ed5c711

Browse files
committed
Untrapping containers or doors gives some experience
1 parent 236ea3b commit ed5c711

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

doc/fixes3-7-0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,7 @@ shopkeepers magnified the cost of shop items used up as a group; normally
14111411
candles to light them all charged N * N * single_candle_price
14121412
the tile for Ixoth (knight's quest nemesis) depicted a demon rather than a
14131413
dragon; change it to be a red dragon
1414+
untrapping containers or doors gives some experience
14141415

14151416

14161417
Fixes to 3.7.0-x General Problems Exposed Via git Repository

src/trap.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5593,6 +5593,8 @@ untrap_box(
55935593
} else {
55945594
You("disarm it!");
55955595
box->otrapped = 0;
5596+
more_experienced(8, 0);
5597+
newexplevel();
55965598
}
55975599
exercise(A_DEX, TRUE);
55985600
} else {
@@ -5836,6 +5838,8 @@ untrap(
58365838
} else {
58375839
You("disarm it!");
58385840
levl[x][y].doormask &= ~D_TRAPPED;
5841+
more_experienced(8, 0);
5842+
newexplevel();
58395843
}
58405844
} else
58415845
pline("This door was not trapped.");

0 commit comments

Comments
 (0)