summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.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/itemname.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/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 7cb451f0bf..c8dee0bc45 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -2705,7 +2705,7 @@ const std::string get_message_colour_tags(item_def &item,
// Order is important here.
colour_off = "</" + colour + ">";
colour = "<" + colour + ">";
- item_name = colour + item_name + colour_off;
+ item_name = colour + item_name + colour_off;
}
return (item_name);