From 3ee907b3d4405c3d89ec2948dc2b99d798e98b9d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 9 Nov 2008 22:08:22 +0000 Subject: 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 --- crawl-ref/source/itemname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/itemname.cc') 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 + ">"; - item_name = colour + item_name + colour_off; + item_name = colour + item_name + colour_off; } return (item_name); -- cgit v1.2.3-54-g00ecf