diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-02 00:18:27 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-02 00:19:26 -0800 |
commit | a3673d5b42142d7f495a37f1e4f9569c6b176919 (patch) | |
tree | c9b2b92ad4b5f96a6c4dc1ba9ec48eccc58ec725 /crawl-ref/source/player.cc | |
parent | 945b0cd6507cb5453e099e0cc245706f70c87d98 (diff) | |
download | crawl-ref-a3673d5b42142d7f495a37f1e4f9569c6b176919.tar.gz crawl-ref-a3673d5b42142d7f495a37f1e4f9569c6b176919.zip |
Ziggurats can now be added to the shopping list.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 1e1fa06931..7633583934 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -7624,7 +7624,8 @@ void player::set_gold(int amount) if (amount != gold) { - shopping_list.gold_changed(gold, amount); + const int old_gold = gold; gold = amount; + shopping_list.gold_changed(old_gold, gold); } } |