summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losparam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r--crawl-ref/source/losparam.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc
index 132c2005f2..52a2856c80 100644
--- a/crawl-ref/source/losparam.cc
+++ b/crawl-ref/source/losparam.cc
@@ -18,7 +18,7 @@ opacity_type opacity_default::operator()(const coord_def& p) const
{
int m;
dungeon_feature_type f = env.grid(p);
- if (grid_is_opaque(f))
+ if (feat_is_opaque(f))
return OPC_OPAQUE;
else if (is_opaque_cloud(env.cgrid(p)))
return OPC_HALF;
@@ -32,7 +32,7 @@ opacity_type opacity_default::operator()(const coord_def& p) const
opacity_type opacity_fullyopaque::operator()(const coord_def& p) const
{
- if (grid_is_opaque(env.grid(p)))
+ if (feat_is_opaque(env.grid(p)))
return OPC_OPAQUE;
else
return OPC_CLEAR;
@@ -44,7 +44,7 @@ opacity_type opacity_solid::operator()(const coord_def& p) const
{
int m;
dungeon_feature_type f = env.grid(p);
- if (grid_is_solid(f))
+ if (feat_is_solid(f))
return OPC_OPAQUE;
else if (is_opaque_cloud(env.cgrid(p)))
return OPC_HALF;