diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-04-07 16:35:36 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-04-07 16:35:36 +0200 |
commit | ac0c84fcdde19ec6f32cd3edd4167c9850e0b2a0 (patch) | |
tree | e7505629869ca72ce6f4615f940345c65f4d1e9a /crawl-ref/source/message.cc | |
parent | aa6dc37addec48ec695baa2b20a2ce2c4845cebd (diff) | |
download | crawl-ref-ac0c84fcdde19ec6f32cd3edd4167c9850e0b2a0.tar.gz crawl-ref-ac0c84fcdde19ec6f32cd3edd4167c9850e0b2a0.zip |
Don't print the line number in -DDEBUG_FATAL messages.
A line number in the error handler is useless, and the real line is lost (at
least without traversing the stack).
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index 92ec1309f0..099bbd28c1 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -1171,7 +1171,7 @@ void mpr(string text, msg_channel_type channel, int param, bool nojoin, bool cap #ifdef DEBUG_FATAL if (channel == MSGCH_ERROR) - die("%s", text.c_str()); + die_noline("%s", text.c_str()); #endif if (!crawl_state.io_inited) |