summaryrefslogtreecommitdiff
path: root/src/wizard1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
commitc4746c0f6d328baa429c96e54d86d2d7f97ccbcc (patch)
tree3f0b3a2f98298ab823662e0096bc7ba857793b98 /src/wizard1.cc
parentb84ac3e1b505624e2af18a4283e7ec379c00b0dc (diff)
Remove r_name, r_text, r_head in favor of simple strings
Diffstat (limited to 'src/wizard1.cc')
-rw-r--r--src/wizard1.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/wizard1.cc b/src/wizard1.cc
index 883ed5a6..3f68a5ea 100644
--- a/src/wizard1.cc
+++ b/src/wizard1.cc
@@ -1370,16 +1370,14 @@ static void spoil_mon_desc(cptr fname)
{
monster_race *r_ptr = &r_info[who_i];
- cptr name = (r_name + r_ptr->name);
-
/* Get the "name" */
if (r_ptr->flags1 & (RF1_UNIQUE))
{
- sprintf(nam, "[U] %s", name);
+ sprintf(nam, "[U] %s", r_ptr->name);
}
else
{
- sprintf(nam, "The %s", name);
+ sprintf(nam, "The %s", r_ptr->name);
}
@@ -1525,7 +1523,7 @@ static void spoil_mon_info(cptr fname)
}
/* Name */
- sprintf(buf, "%s (", (r_name + r_ptr->name)); /* ---)--- */
+ sprintf(buf, "%s (", r_ptr->name); /* ---)--- */
spoil_out(buf);
/* Color */
@@ -1584,7 +1582,7 @@ static void spoil_mon_info(cptr fname)
/* Describe */
- spoil_out(r_text + r_ptr->text);
+ spoil_out(r_ptr->text);
spoil_out(" ");