From 9f355e6e23ff957afee2760111645611b5730b1d Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 28 Nov 2007 18:55:27 +0000 Subject: [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 --- crawl-ref/source/initfile.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/initfile.cc') 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)); } } } -- cgit v1.2.3-54-g00ecf