diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:00:57 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:22:16 +0100 |
commit | 310d0430888db20093a862e7921511076a486c6b (patch) | |
tree | da21a4f3e17b5bba68a0ce3fc31aceb4429fe775 /crawl-ref/source/mon-stuff.cc | |
parent | d4189cb0308511fc5d7e12790993f6844974e0c7 (diff) | |
download | crawl-ref-310d0430888db20093a862e7921511076a486c6b.tar.gz crawl-ref-310d0430888db20093a862e7921511076a486c6b.zip |
Replace observe_cell by you.see_cell.
Diffstat (limited to 'crawl-ref/source/mon-stuff.cc')
-rw-r--r-- | crawl-ref/source/mon-stuff.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc index d507a7d7f8..c9d389fddc 100644 --- a/crawl-ref/source/mon-stuff.cc +++ b/crawl-ref/source/mon-stuff.cc @@ -485,7 +485,7 @@ int place_monster_corpse(const monsters *monster, bool silent, // Don't care if 'o' is changed, and it shouldn't be (corpses don't // stack). move_item_to_grid(&o, monster->pos()); - if (observe_cell(monster->pos())) + if (you.see_cell(monster->pos())) { if (force && !silent) { @@ -2042,7 +2042,7 @@ int monster_die(monsters *monster, killer_type killer, monster->foe = killer_index; } - if (!silent && !wizard && observe_cell(monster->pos())) + if (!silent && !wizard && you.see_cell(monster->pos())) { // Make sure that the monster looks dead. if (monster->alive() && !in_transit && (!summoned || duration > 0)) @@ -2158,7 +2158,7 @@ int monster_die(monsters *monster, killer_type killer, monster_cleanup(monster); // Force redraw for monsters that die. - if (observe_cell(mwhere)) + if (you.see_cell(mwhere)) { view_update_at(mwhere); update_screen(); |