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 | de5ee3b24f035efe3da8260687200109302f350a (patch) | |
tree | 26885e50701ec8a119f4f25ff98ad69fc2ca0ed6 /src/files.cc | |
parent | 8e89f38f28fd5c7dff91732807a591eaefbc36c0 (diff) |
Remove d_head, d_name, d_text
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/files.cc b/src/files.cc index f9d83539..396883f5 100644 --- a/src/files.cc +++ b/src/files.cc @@ -2288,11 +2288,17 @@ cptr describe_player_location() int feat = wild_map[pwy][pwx].feat; if (dungeon_type != DUNGEON_WILDERNESS && dun_level > 0) - sprintf(desc, "on level %d of %s", dun_level, d_info[dungeon_type].name + d_name); + { + sprintf(desc, "on level %d of %s", dun_level, d_info[dungeon_type].name); + } else if (wf_info[feat].terrain_idx == TERRAIN_TOWN) + { sprintf(desc, "in the town of %s", wf_info[feat].name + wf_name); + } else if (wf_info[feat].entrance) + { sprintf(desc, "near %s", wf_info[feat].name + wf_name); + } else { /* @@ -2642,7 +2648,7 @@ errr file_character(cptr name, bool_ full) { if (max_dlv[y]) fprintf(fff, "\n %s: Level %d (%d')", - d_name + d_info[y].name, + d_info[y].name, max_dlv[y], 50 * (max_dlv[y])); } fprintf(fff, "\n"); |