diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-29 09:48:43 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-29 09:48:43 +0000 |
commit | 9f09c60aab4fc45d9c09058556d2bda90dd3faee (patch) | |
tree | 75d83558407384e5c49deca34ad319c0e4135922 | |
parent | 4acd88735bc13d574620a4c154a0e0adf9057726 (diff) | |
download | crawl-ref-9f09c60aab4fc45d9c09058556d2bda90dd3faee.tar.gz crawl-ref-9f09c60aab4fc45d9c09058556d2bda90dd3faee.zip |
Fixed monster thrown weapons being destroyed too easily.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2655 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/beam.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index b892821c05..ca54f1da3c 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2452,7 +2452,8 @@ void beam_drop_object( bolt &beam, item_def *item, int x, int y ) if (item->base_type != OBJ_MISSILES || !one_chance_in(chance)) copy_item_to_grid( *item, x, y, 1 ); } - else if (MON_KILL(beam.thrower) && coinflip()) // monster threw it. + else if (MON_KILL(beam.thrower) + && (item->base_type != OBJ_MISSILES || coinflip())) { copy_item_to_grid( *item, x, y, 1 ); } // if (thing_throw == 2) ... |