From 310d0430888db20093a862e7921511076a486c6b Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 13 Nov 2009 15:00:57 +0100 Subject: Replace observe_cell by you.see_cell. --- crawl-ref/source/godabil.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/godabil.cc') 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++; } } -- cgit v1.2.3-54-g00ecf