summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 11:20:18 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 11:20:18 +0000
commit2c46b8a251869fad34b31f89d32ff43f7b36be34 (patch)
tree182153a6661a82db35a69919e8a30ff5d5375e57 /crawl-ref/source/spells1.cc
parent145574d7faad160fb212d68a693454ea08d59b4f (diff)
downloadcrawl-ref-2c46b8a251869fad34b31f89d32ff43f7b36be34.tar.gz
crawl-ref-2c46b8a251869fad34b31f89d32ff43f7b36be34.zip
Factored out bolt tracer variables into tracer_info struct.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8113 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index b8228175fa..0dc35f0ce0 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -580,12 +580,12 @@ bool stinking_cloud( int pow, bolt &beem )
if (beem.target != you.pos())
{
// Fire tracer.
- beem.source = you.pos();
- beem.can_see_invis = player_see_invis();
- beem.smart_monster = true;
- beem.attitude = ATT_FRIENDLY;
- beem.fr_count = 0;
- beem.is_tracer = true;
+ beem.source = you.pos();
+ beem.can_see_invis = player_see_invis();
+ beem.smart_monster = true;
+ beem.attitude = ATT_FRIENDLY;
+ beem.friend_info.count = 0;
+ beem.is_tracer = true;
beem.fire();
if (beem.beam_cancelled)