summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 83840ea20d..bbd80c8cab 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1777,7 +1777,7 @@ bool cast_portal_projectile(int pow)
}
// Can't use portal through walls. (That'd be just too cheap!)
- if (trans_wall_blocking( target.target ))
+ if (you.trans_wall_blocking( target.target ))
{
mpr("A translucent wall is in the way.");
return (false);
@@ -1801,7 +1801,7 @@ bool cast_apportation(int pow, const coord_def& where)
return (false);
}
- if (trans_wall_blocking(where))
+ if (you.trans_wall_blocking(where))
{
mpr("A translucent wall is in the way.");
return (false);