diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 00:16:20 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 00:16:20 +0200 |
commit | 241ceb5971b5c87b58e7f28f9fee417230561a5d (patch) | |
tree | 8e3a0781c9ba03971f8880fe6923337a50f45409 /crawl-ref/source/dat/clua/lm_monst.lua | |
parent | f6e6b6b7151af9290c0597acb1995ed157378529 (diff) | |
download | crawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.tar.gz crawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.zip |
Globally replace see_grid by see_cell.
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_monst.lua')
-rw-r--r-- | crawl-ref/source/dat/clua/lm_monst.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dat/clua/lm_monst.lua b/crawl-ref/source/dat/clua/lm_monst.lua index 6700026fb4..f26e73e89b 100644 --- a/crawl-ref/source/dat/clua/lm_monst.lua +++ b/crawl-ref/source/dat/clua/lm_monst.lua @@ -98,13 +98,13 @@ function MonsterOnTrigger:event(marker, ev) -- command, since then no turns will have been taken and the LOS info -- won't have been updated. you.losight() - local see_grid = you.see_grid(x, y) + local see_cell = you.see_cell(x, y) if (not dgn.create_monster(x, y, self.new_monster)) then return - elseif self.message_seen ~= "" and see_grid then + elseif self.message_seen ~= "" and see_cell then crawl.mpr(self.message_seen) - elseif self.message_unseen ~= "" and not see_grid then + elseif self.message_unseen ~= "" and not see_cell then crawl.mpr(self.message_unseen) end |