diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-28 18:55:27 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-28 18:55:27 +0000 |
commit | 9f355e6e23ff957afee2760111645611b5730b1d (patch) | |
tree | 4484a92249e6d238f7d200a41a3eefb6f48ffdd3 /crawl-ref/source/initfile.cc | |
parent | 3c845a534e67829227b01b246ac66de7c7b55de3 (diff) | |
download | crawl-ref-9f355e6e23ff957afee2760111645611b5730b1d.tar.gz crawl-ref-9f355e6e23ff957afee2760111645611b5730b1d.zip |
[1832826] Removed another carp to stderr.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2928 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index cf8f53f406..488ecb2de2 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -1594,8 +1594,9 @@ void game_options::read_option_line(const std::string &str, bool runscript) autopickups |= (1L << j); else { - fprintf( stderr, "Bad object type '%c' for autopickup.\n", - type ); + crawl_state.add_startup_error( + make_stringf("Bad object type '%c' for autopickup.\n", + type)); } } } |