From dfbb2ae3abe47a0db72825e65d9c140c5a78ea0f Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 5 Jan 2009 02:10:44 +0000 Subject: 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 --- crawl-ref/source/religion.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/religion.cc') 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); -- cgit v1.2.3-54-g00ecf