summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 04:54:48 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 04:54:48 +0000
commit407b446d10c56a89ac673397bf465aafa79feaef (patch)
treecf168ddd216808f38f55e6ebfe10108dcbc2cbb3 /crawl-ref/source/terrain.cc
parent567351d20b5fb5a61845f0e2d8877ecf67adbdc6 (diff)
downloadcrawl-ref-407b446d10c56a89ac673397bf465aafa79feaef.tar.gz
crawl-ref-407b446d10c56a89ac673397bf465aafa79feaef.zip
Really fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8765 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index 84d1a2ec1a..4e8f3355a8 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -1060,7 +1060,7 @@ std::string grid_preposition(dungeon_feature_type grid, bool active,
else
return "inside";
}
- else if (!airborne && grid_can_be_drowned_in(grid))
+ else if (!airborne && (grid == DNGN_LAVA || grid == DNGN_DEEP_WATER))
{
if (active)
return "around";