summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/lua
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/dat/lua
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/dat/lua')
-rw-r--r--crawl-ref/source/dat/lua/eat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/lua/eat.lua b/crawl-ref/source/dat/lua/eat.lua
index 4bd520b9e5..c29f043456 100644
--- a/crawl-ref/source/dat/lua/eat.lua
+++ b/crawl-ref/source/dat/lua/eat.lua
@@ -12,7 +12,7 @@ function prompt_eat(i)
if item.quantity(i) > 1 then
iname = "one of " .. iname
end
- crawl.formatted_mpr("Eat " .. iname .. "?", "prompt")
+ crawl.mpr("Eat " .. iname .. "?", "prompt")
local res
res = crawl.getch()