summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-30 20:57:58 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-30 20:57:58 +0000
commit0b97115e76ac68219aba51eb7f8058be3d23ea9a (patch)
treefa8e4c3602fba9c0b83691cc2b2e6087b466f640 /crawl-ref/source/externs.h
parenta55988bcffbf69b7383053c9c2fc3bd2e9d1fa3d (diff)
downloadcrawl-ref-0b97115e76ac68219aba51eb7f8058be3d23ea9a.tar.gz
crawl-ref-0b97115e76ac68219aba51eb7f8058be3d23ea9a.zip
* Disallow monsters to pick up launchers that will also refuse to
pick up the corresponding ammunition. * Allow monsters without ammo to pick up darts and stones even if their launcher is not a hand crossbow or sling, respectively. (They'll be replaced as soon as it comes across some matching ammo.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9708 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 28f0337792..3b9f3ff3ea 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1550,6 +1550,7 @@ public:
int action_energy(energy_use_type et) const;
bool do_shaft();
+ bool has_spell_of_type(unsigned) const;
private:
void init_with(const monsters &mons);
@@ -1572,7 +1573,6 @@ private:
bool check_set_valid_home(const coord_def &place,
coord_def &chosen,
int &nvalid) const;
- bool has_spell_of_type(unsigned) const;
};
struct cloud_struct