diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-09-17 10:44:56 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-09-17 10:44:56 +0200 |
commit | 86ea48af2bb4792563e7a2966981f665ce16388e (patch) | |
tree | 16826ba63c055a3fa9aed302a7a9e7d0c6918251 /crawl-ref/source/mon-gear.h | |
parent | c150a30e66063d05255b2c20391da32b85dd55d8 (diff) | |
download | crawl-ref-86ea48af2bb4792563e7a2966981f665ce16388e.tar.gz crawl-ref-86ea48af2bb4792563e7a2966981f665ce16388e.zip |
Pass weapon into monster generation code for Tukima's Dance.
This seems to be a bit cleaner, and allows fixing issue #2597
(incorrect "comes into view" message when Xom animates your
weapon during a delay).
The message order is still wrong, but that's a different issue.
Diffstat (limited to 'crawl-ref/source/mon-gear.h')
-rw-r--r-- | crawl-ref/source/mon-gear.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-gear.h b/crawl-ref/source/mon-gear.h index def8542b39..ec1128a925 100644 --- a/crawl-ref/source/mon-gear.h +++ b/crawl-ref/source/mon-gear.h @@ -6,7 +6,9 @@ #ifndef MON_GEAR_H #define MON_GEAR_H - -void give_item(int mid, int level_number, bool mons_summoned, bool spectral_orcs = false); -void give_weapon(int mid, int level_number, bool mons_summoned, bool spectral_orcs = false); +void give_specific_item(monster* mon, const item_def& tpl); +void give_item(int mid, int level_number, + bool mons_summoned, bool spectral_orcs = false); +void give_weapon(int mid, int level_number, bool mons_summoned, + bool spectral_orcs = false); #endif |