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/godabil.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/godabil.cc')
-rw-r--r-- | crawl-ref/source/godabil.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index 48876a0a2c..d7c635b2c6 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -437,7 +437,7 @@ int fungal_bloom() destroy_item(j->index()); } - if (corpse_on_pos && observe_cell(*i)) + if (corpse_on_pos && you.see_cell(*i)) seen_corpses++; } } @@ -470,7 +470,7 @@ static int _create_plant(coord_def & target) if (plant != -1) { env.mons[plant].flags |= MF_ATT_CHANGE_ATTEMPT; - if (observe_cell(target)) + if (you.see_cell(target)) mpr("A plant grows up from the ground."); } @@ -539,7 +539,7 @@ bool sunlight() if (grd(target) != ftype) { dungeon_terrain_changed(target, ftype); - if (observe_cell(target)) + if (you.see_cell(target)) evap_count++; } @@ -570,7 +570,7 @@ bool sunlight() MG_FORCE_PLACE, GOD_FEDHAS)); - if (plant != -1 && observe_cell(target)) + if (plant != -1 && you.see_cell(target)) plant_count++; } } |