summaryrefslogtreecommitdiff
path: root/src/random_artifact.hpp
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2020-05-23 00:33:19 -0700
committerManoj Srivastava <srivasta@debian.org>2020-05-23 00:33:19 -0700
commitd6b913d3ca2e84b75f3675fd6e9f5246c100cf27 (patch)
tree5fc28b7efc737bf2c79dc7d799e0a6013957fe11 /src/random_artifact.hpp
parentc42f029316c0c004a795ca170bdb50644a800534 (diff)
parent73a0259be1d44fdb2ab34266ae0ff63f0d8f0b60 (diff)
Merge branch 'master' into dgit/siddebian/2.4.0-ah-1archive/debian/2.4.0-ah-1
Diffstat (limited to 'src/random_artifact.hpp')
-rw-r--r--src/random_artifact.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/random_artifact.hpp b/src/random_artifact.hpp
index a3fc1c66..618f1102 100644
--- a/src/random_artifact.hpp
+++ b/src/random_artifact.hpp
@@ -2,13 +2,15 @@
#include "h-basic.h"
+#include <string>
+
/**
* Random artifact descriptor.
*/
struct random_artifact
{
- char name_full[80]; /* Full name for the artifact */
- char name_short[80]; /* Un-Id'd name */
+ std::string name_full; /* Full name for the artifact */
+ std::string name_short; /* Un-Id'd name */
byte level; /* Level of the artifact */
byte attr; /* Color that is used on the screen */
u32b cost; /* Object's value */