From 8bbf783ead4517465445272f9144cf06bdac9be7 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: 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. --- src/cmd6.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd6.cc') diff --git a/src/cmd6.cc b/src/cmd6.cc index 4bcade91..393261bf 100644 --- a/src/cmd6.cc +++ b/src/cmd6.cc @@ -5077,7 +5077,7 @@ const char *activation_aux(object_type * o_ptr, bool_ doit, int item) spell = a_info[o_ptr->name1].activate; /* Random Artifacts */ - if (!spell && o_ptr->art_name) + if (!spell && (!o_ptr->artifact_name.empty())) spell = o_ptr->xtra2; /* Ego Items */ -- cgit v1.2.3