diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | e02a2dfd184a996a02ecc6004a0a03bcfbd19131 (patch) | |
tree | cb37d7099bfabb409ab97fffeb4ca71fdb9e110e /src/object1.cc | |
parent | aebc48dffa75698be4d2c1bb2b1a0927b10be1cc (diff) |
Change store_info_type::name to std::string
Diffstat (limited to 'src/object1.cc')
-rw-r--r-- | src/object1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object1.cc b/src/object1.cc index b035326f..656446c3 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -3493,12 +3493,12 @@ bool_ object_out_desc(object_type *o_ptr, FILE *fff, bool_ trim_down, bool_ wait else if (o_ptr->found == OBJ_FOUND_STORE) { text_out(format("\nYou bought it from the %s.", - st_info[o_ptr->found_aux1].name)); + st_info[o_ptr->found_aux1].name.c_str())); } else if (o_ptr->found == OBJ_FOUND_STOLEN) { text_out(format("\nYou stole it from the %s.", - st_info[o_ptr->found_aux1].name)); + st_info[o_ptr->found_aux1].name.c_str())); } else if (o_ptr->found == OBJ_FOUND_SELFMADE) { |