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/tilepick.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/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 561d790dd1..411e01a9c9 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -2995,7 +2995,7 @@ static inline void _finalise_tile(unsigned int *tile, else if (orig < TILE_DNGN_MAX) { // Some tiles may change from turn to turn, but only if in view. - if (orig >= TILE_DNGN_LAVA && orig < TILE_BLOOD && observe_cell(gc)) + if (orig >= TILE_DNGN_LAVA && orig < TILE_BLOOD && you.see_cell(gc)) env.tile_flv(gc).special = random2(256); (*tile) = orig + (special_flv % tile_dngn_count(orig)); @@ -4535,7 +4535,7 @@ void tile_draw_floor() const coord_def gc = show2grid(ep); int bg = TILE_DNGN_UNSEEN | tile_unseen_flag(gc); - if (observe_cell(gc)) + if (you.see_cell(gc)) { dungeon_feature_type feat = grid_appearance(gc); bg = tileidx_feature(feat, gc.x, gc.y); @@ -4766,7 +4766,7 @@ void tile_finish_dngn(unsigned int *tileb, int cx, int cy) if (you.halo_contains(gc)) { monsters *mon = monster_at(gc); - if (observe_cell(gc) && mon) + if (you.see_cell(gc) && mon) { if (!mons_class_flag(mon->type, M_NO_EXP_GAIN) && (!mons_is_mimic(mon->type) |