diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:58 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:58 +0100 |
commit | caa23251d8b279529330641032c62f8640ee13ff (patch) | |
tree | fd442587708295bfc31b17f12cc726aedf406f15 /src/files.cc | |
parent | 3bfa6a0e2cba6b4fc8f53dac1e987c95fe7ed93c (diff) |
Remove rp_head, rp_name, rp_text, rmp_head, rmp_name, rmp_text
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/files.cc b/src/files.cc index 005b4ed8..29b216e4 100644 --- a/src/files.cc +++ b/src/files.cc @@ -857,13 +857,13 @@ static cptr process_pref_file_expr(char **sp, char *fp) /* Race */ else if (streq(b + 1, "RACE")) { - v = rp_ptr->title + rp_name; + v = rp_ptr->title; } /* Race */ else if (streq(b + 1, "RACEMOD")) { - v = rmp_ptr->title + rmp_name; + v = rmp_ptr->title; } /* Class */ @@ -4934,7 +4934,7 @@ void show_highclass(int building) ((building == 1) && (clev >= PY_MAX_LEVEL))) { sprintf(out_val, "%3d) %s the %s (Level %2d)", - (m + 1), the_score.who, rp_name + race_info[pr].title, clev); + (m + 1), the_score.who, race_info[pr].title, clev); prt(out_val, (m + 7), 0); m++; } @@ -4945,7 +4945,7 @@ void show_highclass(int building) if ((building == 1) && (p_ptr->lev >= PY_MAX_LEVEL)) { sprintf(out_val, "You) %s the %s (Level %2d)", - player_name, rp_name + race_info[p_ptr->prace].title, p_ptr->lev); + player_name, race_info[p_ptr->prace].title, p_ptr->lev); prt(out_val, (m + 8), 0); } else if ((building != 1)) @@ -4953,7 +4953,7 @@ void show_highclass(int building) if ((p_ptr->lev > clev) && (p_ptr->pclass == (building - 10))) { sprintf(out_val, "You) %s the %s (Level %2d)", - player_name, rp_name + race_info[p_ptr->prace].title, p_ptr->lev); + player_name, race_info[p_ptr->prace].title, p_ptr->lev); prt(out_val, (m + 8), 0); } } @@ -4982,7 +4982,7 @@ void race_score(int race_num) lastlev = 0; /* rr9: TODO - pluralize the race */ - sprintf(tmp_str, "The Greatest of all the %s", rp_name + race_info[race_num].title); + sprintf(tmp_str, "The Greatest of all the %s", race_info[race_num].title); prt(tmp_str, 5, 3); /* Build the filename */ @@ -5018,7 +5018,7 @@ void race_score(int race_num) { sprintf(out_val, "%3d) %s the %s (Level %3d)", (m + 1), the_score.who, - rp_name + race_info[pr].title, clev); + race_info[pr].title, clev); prt(out_val, (m + 7), 0); m++; lastlev = clev; @@ -5030,7 +5030,7 @@ void race_score(int race_num) if ((p_ptr->prace == race_num) && (p_ptr->lev >= lastlev)) { sprintf(out_val, "You) %s the %s (Level %3d)", - player_name, rp_name + race_info[p_ptr->prace].title, p_ptr->lev); + player_name, race_info[p_ptr->prace].title, p_ptr->lev); prt(out_val, (m + 8), 0); } |