summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-24 08:22:40 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-24 08:22:40 +0000
commit4fd5210858042ffa3eeb6de181868eebb38cd81f (patch)
tree5dc671b96cc5882718e616192919ea00f004afd2 /crawl-ref/source/mon-util.cc
parent2b81f6d336f3b8f9c4df969cb1d1a824b13bee9d (diff)
downloadcrawl-ref-4fd5210858042ffa3eeb6de181868eebb38cd81f.tar.gz
crawl-ref-4fd5210858042ffa3eeb6de181868eebb38cd81f.zip
Tutorial changes:
- If a friendly monster is enslaved/charmed, note that it is only *temporarily* friendly, and that it will become hostile when its friendliness wears out. - Make sure TUT_MONSTER_FRIENDLY is fired for summoned friendly monsters, not just for enslaved/charmed monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9816 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 7539df4f20..f7fd0bc1b9 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -6627,7 +6627,7 @@ void monsters::add_enchantment_effect(const mon_enchant &ench, bool quiet)
patrol_point.reset();
}
if (you.can_see(this))
- learned_something_new(TUT_MONSTER_FRIENDLY);
+ learned_something_new(TUT_MONSTER_FRIENDLY, pos());
break;
default: