diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-12-14 21:09:33 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-12-14 21:15:59 +0100 |
commit | d94c0b0998af2ff6c44ef03f41bf245d6b31d2e8 (patch) | |
tree | e179a77d26fa176141782fe3b7c02eaa0481bcc7 /crawl-ref/source/makeitem.h | |
parent | a12a84baaa3665efa4c201f81cdc8d67c90f0c1e (diff) | |
download | crawl-ref-d94c0b0998af2ff6c44ef03f41bf245d6b31d2e8.tar.gz crawl-ref-d94c0b0998af2ff6c44ef03f41bf245d6b31d2e8.zip |
Don't define max. wand charges in two different places.
For now, I've kept the specialcasing in makeitem.cc, though it
doesn't make a lot of sense: You can get wands with 28 charges
that claim in their description they can have at most 24 charges.
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r-- | crawl-ref/source/makeitem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h index b3608905c4..eabc057708 100644 --- a/crawl-ref/source/makeitem.h +++ b/crawl-ref/source/makeitem.h @@ -35,7 +35,6 @@ int item_corpse(monster_type monster, const item_spec &ispec); void item_colour(item_def &item); void init_rod_mp(item_def &item, int ncharges = -1, int item_level = -1); -int wand_max_charges(int subtype); jewellery_type get_random_ring_type(); jewellery_type get_random_amulet_type(); armour_type get_random_body_armour_type(int level); |