summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-25 09:07:41 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-25 09:07:41 +0000
commit0e88d35a455c4c56b0edc0fc6729b0d1b8014731 (patch)
tree535b85c7c4e4ab869c195dc16bf0b77df9733007 /crawl-ref/source/monstuff.cc
parent57bdaabbe48d32989e7c69b8d66041e683fe1d49 (diff)
downloadcrawl-ref-0e88d35a455c4c56b0edc0fc6729b0d1b8014731.tar.gz
crawl-ref-0e88d35a455c4c56b0edc0fc6729b0d1b8014731.zip
* More tutorial tweaks (tiles, mostly).
* Allow (r)eplacing an existing inscription as a shortcut to (c)learing + (i)nscribing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9827 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 25700e20be..7059ff5c97 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1279,8 +1279,9 @@ int monster_die(monsters *monster, killer_type killer,
if (crawl_state.arena)
break;
- // killing triggers tutorial lesson
- _tutorial_inspect_kill();
+ // Killing triggers tutorial lesson.
+ if (gives_xp)
+ _tutorial_inspect_kill();
// Prevent summoned creatures from being good kills.
if (bad_kill || !created_friendly && gives_xp)