diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-14 08:41:14 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-14 08:41:14 +0000 |
commit | ba7e554755742271d92e1380e0ee901a39eeedca (patch) | |
tree | 036e67afb8d897de99ea90fd948a65f42e97178f | |
parent | 3fa05ce142611938fc0bd7ea0cf776d5574e0aaa (diff) | |
download | crawl-ref-ba7e554755742271d92e1380e0ee901a39eeedca.tar.gz crawl-ref-ba7e554755742271d92e1380e0ee901a39eeedca.zip |
[1595794] Fixed bad multidrop memory (when only one item was dropped, multidrop
was not forgetting the item after dropping it).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.1.3@396 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/items.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 320de6c818..d1f54d8b49 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1944,6 +1944,7 @@ void drop(void) { drop_item( items_for_multidrop[0].slot, items_for_multidrop[0].quantity ); + items_for_multidrop.clear(); you.turn_is_over = true; } else |