summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-04-07 16:35:36 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-04-07 16:35:36 +0200
commitac0c84fcdde19ec6f32cd3edd4167c9850e0b2a0 (patch)
treee7505629869ca72ce6f4615f940345c65f4d1e9a /crawl-ref/source/message.cc
parentaa6dc37addec48ec695baa2b20a2ce2c4845cebd (diff)
downloadcrawl-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.cc2
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)