diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-25 18:12:02 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-25 18:12:02 +0000 |
commit | 1dee477edbd887705ee489f960b92aa7de9e7afd (patch) | |
tree | 27accc52b70d6ec2481109839be40d00522d8f34 /crawl-ref/source/libutil.cc | |
parent | db66c453fc644d1dffd1987b13b38e76a4baa8f1 (diff) | |
download | crawl-ref-1dee477edbd887705ee489f960b92aa7de9e7afd.tar.gz crawl-ref-1dee477edbd887705ee489f960b92aa7de9e7afd.zip |
* Fixed Vault:8 level being generated with no rune (cbus).
* Dropped odds of statue vault.
* Take note of messages received in dgamelaunch chat.
* crawl -vscores, etc. should not attempt to create save/morgue directories
(Marc).
* Changed wording of "Foo wielding bar comes into view" to
"Foo comes into view. It is wielding bar.".
* Suppress curse status display of monster items.
* TSO worshippers are no longer warned when stabbing monsters if TSO doesn't
object to stabbing those monsters.
* Wand zap status is now {zapped: N} instead of {zapped N times} to reduce
verbosity.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2204 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r-- | crawl-ref/source/libutil.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index e2298ecb3a..001e3c7128 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -69,6 +69,8 @@ description_level_type description_type_by_name(const char *desc) return DESC_INVENTORY_EQUIP; else if (!strcmp("inv", desc)) return DESC_INVENTORY; + else if (!strcmp("none", desc)) + return DESC_NONE; return DESC_PLAIN; } @@ -101,7 +103,7 @@ void play_sound( const char *file ) std::string strip_filename_unsafe_chars(const std::string &s) { - return replace_all_of(s, " .&`\"\'|;:/\\{}()[]<>*%$#@!~?", ""); + return replace_all_of(s, " .&`\"\'|;{}()[]<>*%$#@!~?", ""); } std::string make_stringf(const char *s, ...) |