summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-04-14 06:39:21 +0200
committerBardur Arantsson <bardur@scientician.net>2015-04-14 06:39:21 +0200
commitcba7adbe84145c9fafaeabcf5dbbde3f5e811237 (patch)
tree99dfc374b92218f0de8ff2a40ab1c7f7c2eaa5a5
parent5218c934677456dc5700fe631e30424fedaa2725 (diff)
Fix stores prematurely identifying item when selling
-rw-r--r--src/store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store.cc b/src/store.cc
index c550154d..92dfbfeb 100644
--- a/src/store.cc
+++ b/src/store.cc
@@ -1834,8 +1834,8 @@ static bool_ sell_haggle(object_type *o_ptr, s32b *price)
/* Sell the whole pile */
cur_ask *= o_ptr->number;
- /* Describe the object (fully) */
- object_desc_store(o_name, o_ptr, TRUE, 3);
+ /* Describe the object */
+ object_desc(o_name, o_ptr, TRUE, 3);
/* Prompt */
strnfmt(out_val, sizeof(out_val), "%s: " FMTs32b, "Price", cur_ask);