summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 22:08:22 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 22:08:22 +0000
commit3ee907b3d4405c3d89ec2948dc2b99d798e98b9d (patch)
tree4aa8733e30c83892406b759d320a7aa664161145 /crawl-ref/source/message.cc
parent297b7ce16954e5144b7d11b3202a60b331a9a940 (diff)
downloadcrawl-ref-3ee907b3d4405c3d89ec2948dc2b99d798e98b9d.tar.gz
crawl-ref-3ee907b3d4405c3d89ec2948dc2b99d798e98b9d.zip
Fix the ASSERT when undetected traps run out of ammo and display "You
hear a click" instead of "The trap is out of ammo". Also, fix the miscolouring of the lua eating prompt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7428 c06c8d41-db1a-0410-9941-cceddc491573
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 989b9f2140..a685b0116f 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -1026,7 +1026,7 @@ void replay_messages(void)
// Allow formatted output of tagged messages.
formatted_string fs = formatted_string::parse_string(text, true);
int curcol = 1;
- for ( unsigned int j = 0; j < fs.ops.size(); ++j )
+ for (unsigned int j = 0; j < fs.ops.size(); ++j)
{
switch ( fs.ops[j].type )
{