summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/artefact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index 0d8597433c..4ca42dc402 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -310,7 +310,7 @@ static std::string _replace_name_parts(const std::string name_in,
// Functions defined in art-func.h are referenced in art-data.h
#include "art-func.h"
-static unrandart_entry unranddata[] = {
+static unrandart_entry unranddata[UNRAND_LAST] = {
#include "art-data.h"
};