summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index bc9c9acf27..8d9342175c 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -123,7 +123,7 @@ static bool is_grid_clobbered(int sx, int sy, int width, int height)
{
for (int x = sx; x < sx + width; ++x)
{
- int grid = grd[x][y];
+ const dungeon_feature_type grid = grd[x][y];
if (!grid_is_opaque(grid)
&& grid != DNGN_FLOOR