summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.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/dungeon.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/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index b6218e6b6b..8bef417413 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5061,7 +5061,7 @@ static void _replace_area( const coord_def& p1, const coord_def& p2,
{
set_envmap_obj(*ri, feature);
#ifdef USE_TILE
- env.tile_bk_bg[ri->x][ri->y] = feature;
+ env.tile_bk_bg(*ri) = feature;
#endif
}
}