diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-23 06:27:58 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-23 06:27:58 +0000 |
commit | 922cba628d3d6377574a90c7a817c10d84ed7f85 (patch) | |
tree | ae983cf4a6d1e2dc85fd5c58754f2ec06d25afae /crawl-ref/source/items.cc | |
parent | 7c2f45cfd1fed2a890780bdf2b7e3d1cd105dfb5 (diff) | |
download | crawl-ref-922cba628d3d6377574a90c7a817c10d84ed7f85.tar.gz crawl-ref-922cba628d3d6377574a90c7a817c10d84ed7f85.zip |
"stashes" was both a global variable and a member variable... confusing!
Renamed both of them.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3827 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index e736224964..5202aaa865 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1897,7 +1897,7 @@ bool drop_item( int item_dropped, int quant_drop, bool try_offer ) item_was_destroyed(you.inv[item_dropped], NON_MONSTER); } else if (strstr(you.inv[item_dropped].inscription.c_str(), "=s") != 0) - stashes.add_stash(); + StashTrack.add_stash(); dec_inv_item_quantity( item_dropped, quant_drop ); you.turn_is_over = true; |