diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/command.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/dat/descript/monsters.txt | 2 | ||||
-rw-r--r-- | crawl-ref/source/describe.cc | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index bb90b0423c..e8568a1079 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -909,7 +909,10 @@ static bool find_description() return (false); } - unsigned char symbol = get_monster_data(mon_num)->showchar; + std::string symbol = ""; + symbol += get_monster_data(mon_num)->showchar; + if (isupper(symbol[0])) + symbol = "cap-" + symbol; std::string symbol_prefix = "__"; symbol_prefix += symbol; diff --git a/crawl-ref/source/dat/descript/monsters.txt b/crawl-ref/source/dat/descript/monsters.txt index 72c9b7126c..f896d7c484 100644 --- a/crawl-ref/source/dat/descript/monsters.txt +++ b/crawl-ref/source/dat/descript/monsters.txt @@ -1,5 +1,5 @@ %%%% -__N_suffix +__cap-N_suffix $"The insensible son of Pandu sank down till he reached the Naga kingdom. Nagas, furnished with fangs containing virulent venom, bit him by diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index c0d50a87e9..f6e1e51e30 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -3595,7 +3595,10 @@ void describe_monsters(monsters& mons) // -peterb 4/14/07 description << getLongDescription(mons.name(DESC_PLAIN)); - unsigned char symbol = get_monster_data(mons.type)->showchar; + std::string symbol = ""; + symbol += get_monster_data(mons.type)->showchar; + if (isupper(symbol[0])) + symbol = "cap-" + symbol; std::string symbol_prefix = "__"; symbol_prefix += symbol; |