summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-05 02:10:44 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-05 02:10:44 +0000
commitdfbb2ae3abe47a0db72825e65d9c140c5a78ea0f (patch)
tree627f969d72075736abbf2152ccbcf932a5f25d6b /crawl-ref/source/religion.cc
parent59ceaadc7d5553ff7667db7d28abc41c2f9e2f0a (diff)
downloadcrawl-ref-dfbb2ae3abe47a0db72825e65d9c140c5a78ea0f.tar.gz
crawl-ref-dfbb2ae3abe47a0db72825e65d9c140c5a78ea0f.zip
Allow monster speech to be directed at other monsters, as well as at the
player. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8224 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 661c0a80df..07edc0d82d 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2318,6 +2318,7 @@ void god_speaks(god_type god, const char *mesg)
fake_mon.hit_points = 1;
fake_mon.god = god;
fake_mon.position = you.pos();
+ fake_mon.foe = MHITYOU;
fake_mon.mname = "FAKE GOD MONSTER";
mpr(do_mon_str_replacements(mesg, &fake_mon).c_str(), MSGCH_GOD, god);