diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-26 15:31:53 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-26 15:31:53 +0000 |
commit | dd695c352f27764a0c4f1efee5ee1676678162c2 (patch) | |
tree | dca72ed2e12f7ddd638bd68598261545a92d9a58 /crawl-ref/source/stash.h | |
parent | 269a1da76046334717fed84754ca3bde5f5bffc5 (diff) | |
download | crawl-ref-dd695c352f27764a0c4f1efee5ee1676678162c2.tar.gz crawl-ref-dd695c352f27764a0c4f1efee5ee1676678162c2.zip |
Made item_def::base_type into object_class_type, instead of unsigned char.
Flushed out a few bugs as a result, specifically:
1. Some monsters (e.g., orcs) can now get blowguns as they were intended to
(look at the makeitem.cc change);
2. Acquirement will no longer attempt to give you the books of minor magic
if you've found them (look at the effects.cc change.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1374 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r-- | crawl-ref/source/stash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index 2a8becbce6..af11c6389e 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -36,7 +36,7 @@ class Stash public: Stash(int xp = -1, int yp = -1); - static void filter(unsigned char base_type, unsigned char sub_type); + static void filter(object_class_type base_type, unsigned char sub_type); static void filter(const std::string &filt); static std::string stash_item_name(const item_def &item); |