diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 00:01:58 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 00:06:49 +0100 |
commit | f5ad2d06f0bac4de0a61d97b8887b70616006969 (patch) | |
tree | 58296a0761e58ecc58107a6ea530fbbd7ccccd84 /crawl-ref/source/mon-stuff.h | |
parent | 08b32044b9fe15e1026a463da9d3d4cad19b3942 (diff) | |
download | crawl-ref-f5ad2d06f0bac4de0a61d97b8887b70616006969.tar.gz crawl-ref-f5ad2d06f0bac4de0a61d97b8887b70616006969.zip |
Make mimics hold the item they're mimicking, instead of fragile hacks with saving RNG state.
Diffstat (limited to 'crawl-ref/source/mon-stuff.h')
-rw-r--r-- | crawl-ref/source/mon-stuff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-stuff.h b/crawl-ref/source/mon-stuff.h index 97acee430f..8455c89ecb 100644 --- a/crawl-ref/source/mon-stuff.h +++ b/crawl-ref/source/mon-stuff.h @@ -61,7 +61,8 @@ public: // for definition of type monsters {dlb} #include "externs.h" -void get_mimic_item( const monsters *mimic, item_def & item ); +item_def *give_mimic_item(monsters *mimic); +item_def &get_mimic_item(const monsters *mimic); int get_mimic_colour( const monsters *mimic ); void alert_nearby_monsters(void); |