summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-08-25 02:33:02 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-08-25 22:34:26 +0200
commit19a70210ad1b059c6b5d05c702487aaf39e96cbf (patch)
treecea5c3fea34c31b24e2a80d7b828ae109a2001f1 /crawl-ref/source/monster.h
parent04436d72380309719de50701eba0bf8bdc96132a (diff)
downloadcrawl-ref-19a70210ad1b059c6b5d05c702487aaf39e96cbf.tar.gz
crawl-ref-19a70210ad1b059c6b5d05c702487aaf39e96cbf.zip
Store the summoner in struct monster.
Nothing queries it yet -- the blame chain uses a string resolved at monster creation time.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index 15ee68baab..82946ebf64 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -54,6 +54,7 @@ public:
monster_type base_monster; // zombie base monster, draconian colour
unsigned int number; // #heads (hydra), etc.
int colour;
+ mid_t summoner;
int foe_memory; // how long to 'remember' foe x,y
// once they go out of sight.