From 078019644214628520c8116a9b4a16f30d8fadf2 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Thu, 12 Nov 2009 03:52:08 -0800 Subject: Add summoner and non_actor_summoner to mgen_data Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them. --- crawl-ref/source/mon-act.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-act.cc') diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 08993ab449..d9bce0dbfd 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -857,7 +857,8 @@ static bool _handle_scroll(monsters *monster) simple_monster_message(monster, " reads a scroll."); const int mon = create_monster( mgen_data(MONS_ABOMINATION_SMALL, SAME_ATTITUDE(monster), - 0, 0, monster->pos(), monster->foe, MG_FORCE_BEH)); + monster, 0, 0, monster->pos(), monster->foe, + MG_FORCE_BEH)); read = true; if (mon != -1) -- cgit v1.2.3-54-g00ecf