From 2aa69c8f83e2afd25a355bc1c70acb646f425b9f Mon Sep 17 00:00:00 2001 From: zelgadis Date: Tue, 27 May 2008 01:48:13 +0000 Subject: Added "error" channel for runtime errors, and changed error messages that used the "danger" or "warning" channels to use that. Sending an error message to the error channel has the side effect of interrupting all activity. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5276 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7ee82d0959..d488080672 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5286,7 +5286,7 @@ int stat_modifier( stat_type stat ) case STAT_INTELLIGENCE: return _int_modifier(); case STAT_DEXTERITY: return _dex_modifier(); default: - mprf(MSGCH_DANGER, "Bad stat: %d", stat); + mprf(MSGCH_ERROR, "Bad stat: %d", stat); return 0; } } -- cgit v1.2.3-54-g00ecf