diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
commit | c4746c0f6d328baa429c96e54d86d2d7f97ccbcc (patch) | |
tree | 3f0b3a2f98298ab823662e0096bc7ba857793b98 /src/generate.cc | |
parent | b84ac3e1b505624e2af18a4283e7ec379c00b0dc (diff) |
Remove r_name, r_text, r_head in favor of simple strings
Diffstat (limited to 'src/generate.cc')
-rw-r--r-- | src/generate.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/generate.cc b/src/generate.cc index 73503e4d..593a37cd 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -2738,8 +2738,7 @@ static bool_ vault_aux_chapel(int r_idx) if (r_ptr->flags1 & (RF1_UNIQUE)) return (FALSE); /* Require "priest" or Angel */ - if (!((r_ptr->d_char == 'A') || - strstr((r_name + r_ptr->name), "riest"))) + if (!((r_ptr->d_char == 'A') || strstr(r_ptr->name, "riest"))) { return (FALSE); } @@ -3452,7 +3451,7 @@ static void build_type6(int by0, int bx0) for (i = 0; i < 8; i++) { /* Message */ - msg_print(r_name + r_info[what[i]].name); + msg_print(r_info[what[i]].name); } } } |