summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 10087e2ddb..2d6da14541 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1694,11 +1694,11 @@ bool acquirement(object_class_type class_wanted, int agent,
if (is_random_artefact(thing))
{
origin_acquired(thing, agent);
- if ( !is_unrandom_artefact(thing) )
+ if (!is_unrandom_artefact(thing))
{
- // give another name that takes god gift into account
+ // Give another name that takes god gift into account.
thing.props["randart_name"].get_string() =
- randart_name(thing, false);
+ artefact_name(thing, false);
}
}
}