diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-07 07:39:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-07 07:39:15 +0000 |
commit | 13089bbb1b6ca36c9acad9007a887cfa44b1e30f (patch) | |
tree | 027e4e3268bdd53dc72e257a7e2cf900705bacae /crawl-ref/source/misc.cc | |
parent | 6ccc5b0dae20c6589de6bf594efb8940d93b72d4 (diff) | |
download | crawl-ref-13089bbb1b6ca36c9acad9007a887cfa44b1e30f.tar.gz crawl-ref-13089bbb1b6ca36c9acad9007a887cfa44b1e30f.zip |
Disallow monsters from picking up missiles for which they don't have
the necessary launcher, but allow upgrading of missiles for ones
with higher pluses or branded ones.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4906 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 0c1dd4faa9..b7fdba8714 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2121,6 +2121,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, if (newlevel) { + // When entering a new level, reset friendly_pickup to default. Options.friendly_pickup = Options.default_friendly_pickup; switch(you.level_type) |