diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 8bbf783ead4517465445272f9144cf06bdac9be7 (patch) | |
tree | 9fa9cc4de0c53df33c557d66a9efbc6781f6fb94 /src/randart.cc | |
parent | 013e27d39ee8ee513208d2855c7e3f6252f0c0bf (diff) |
Refactor object_type 'artifact name' field to std::string
We don't really need quarks for this since we're not nearly as
memory-constrained these days.
Diffstat (limited to 'src/randart.cc')
-rw-r--r-- | src/randart.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/randart.cc b/src/randart.cc index f7ea95f3..1ccba225 100644 --- a/src/randart.cc +++ b/src/randart.cc @@ -379,7 +379,7 @@ bool_ create_artifact(object_type *o_ptr, bool_ a_scroll, bool_ get_name) } /* Save the inscription */ - o_ptr->art_name = quark_add(new_name); + o_ptr->artifact_name = new_name; o_ptr->name2 = o_ptr->name2b = 0; /* Window stuff */ |