diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:06:56 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:22:17 +0100 |
commit | d21b754210905c4bf50e0c346d820b3d8b1af01c (patch) | |
tree | 29d6121a80cb4792bf3bbb530e4ed728c824cda3 /crawl-ref/source/spells1.cc | |
parent | 310d0430888db20093a862e7921511076a486c6b (diff) | |
download | crawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.tar.gz crawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.zip |
Move trans_wall_blocking into player.
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index da3b065aea..f6e386bffc 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -138,7 +138,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) // Grid in los, no problem. break; } - else if (trans_wall_blocking( beam.target )) + else if (you.trans_wall_blocking( beam.target )) { // Wizard blink can move past translucent walls. if (wizard_blink) @@ -557,7 +557,7 @@ bool conjure_flame(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); |