summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 357b97a80c..039d908e2c 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1194,6 +1194,8 @@ void search_around( bool only_adjacent )
{
grd[srx][sry] = trap_category(env.trap[i].type);
mpr("You found a trap!");
+ learned_something_new(TUT_SEEN_TRAP, srx, sry);
+
exercise(SK_TRAPS_DOORS, (coinflip() ? 2 : 1));
}
else