diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-09 08:10:31 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-09 08:13:18 +1000 |
commit | 0af1dc336fba966eb3c946850369d32bd8a15910 (patch) | |
tree | 73037cf6418d6be89b53ce7886f969d5dead1e34 /crawl-ref/source/l_item.cc | |
parent | faf758758cb4a588f6f4305f6466272cdf2d12a7 (diff) | |
download | crawl-ref-0af1dc336fba966eb3c946850369d32bd8a15910.tar.gz crawl-ref-0af1dc336fba966eb3c946850369d32bd8a15910.zip |
Fix return values (rob).
Diffstat (limited to 'crawl-ref/source/l_item.cc')
-rw-r--r-- | crawl-ref/source/l_item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_item.cc b/crawl-ref/source/l_item.cc index 1e0d3bcc57..0154bb3030 100644 --- a/crawl-ref/source/l_item.cc +++ b/crawl-ref/source/l_item.cc @@ -740,7 +740,7 @@ static int l_item_pluses(lua_State *ls) if (!item || !item->is_valid() || !item_ident(*item, ISFLAG_KNOW_PLUSES)) { lua_pushboolean(ls, false); - return (0); + return (1); } lua_pushnumber(ls, item->plus); |