diff options
author | elliptic <hyperelliptical@gmail.com> | 2014-03-06 11:48:38 -0500 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2014-03-06 11:50:03 -0500 |
commit | 16c2031d7bc2ee13c685bd2fe7ef3e9263175590 (patch) | |
tree | 6b671d89cc91ab84ec05414ff0e4d6201b4cec97 /crawl-ref/source/l_moninf.cc | |
parent | b4a22a472feea0a5286f985e1b1be058e0c4b362 (diff) | |
download | crawl-ref-16c2031d7bc2ee13c685bd2fe7ef3e9263175590.tar.gz crawl-ref-16c2031d7bc2ee13c685bd2fe7ef3e9263175590.zip |
Let moninf_get_is_caught() also check webbed status.
Diffstat (limited to 'crawl-ref/source/l_moninf.cc')
-rw-r--r-- | crawl-ref/source/l_moninf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_moninf.cc b/crawl-ref/source/l_moninf.cc index f82e22c110..26f23df9c3 100644 --- a/crawl-ref/source/l_moninf.cc +++ b/crawl-ref/source/l_moninf.cc @@ -131,7 +131,7 @@ LUAFN(moninf_get_stabbability) LUAFN(moninf_get_is_caught) { MONINF(ls, 1, mi); - lua_pushboolean(ls, mi->is(MB_CAUGHT)); + lua_pushboolean(ls, mi->is(MB_CAUGHT) || mi->is(MB_WEBBED)); return 1; } |