summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-15 10:02:19 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-15 10:02:19 +0000
commitcf4b68bb3c2e5d1955d41fff7284a7d56a484b3f (patch)
treefb403a4d82b266bec7478b92b75b513c55acdb59 /crawl-ref/source/player.cc
parentbc30076f91a48a0e05a88317d2048f7bcafc06c7 (diff)
downloadcrawl-ref-cf4b68bb3c2e5d1955d41fff7284a7d56a484b3f.tar.gz
crawl-ref-cf4b68bb3c2e5d1955d41fff7284a7d56a484b3f.zip
Various cleanups, mostly having to do with coord_def().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9086 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 6250c86c09..146b32d571 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2947,9 +2947,8 @@ void forget_map(unsigned char chance_forgotten, bool force)
#ifdef USE_TILE
set_envmap_obj(*ri, DNGN_UNSEEN);
tiles.update_minimap(ri->x, ri->y);
- env.tile_bk_fg[ri->x][ri->y] = 0;
- env.tile_bk_bg[ri->x][ri->y]
- = tileidx_feature(DNGN_UNSEEN, ri->x, ri->y);
+ env.tile_bk_fg(*ri) = 0;
+ env.tile_bk_bg(*ri) = tileidx_feature(DNGN_UNSEEN, ri->x, ri->y);
#endif
}
}