summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-12-26 16:39:47 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-12-26 16:45:10 +0100
commit414b1c3e9ebefcc08531c15a2f3aa53fedcb31ef (patch)
tree5f9e83dcaa26141f0ddf92cd099ab83ff1ba55d1 /crawl-ref/source/beam.h
parente5e6474f335d47ce81f0d33d5adf95b4dd64ba46 (diff)
downloadcrawl-ref-414b1c3e9ebefcc08531c15a2f3aa53fedcb31ef.tar.gz
crawl-ref-414b1c3e9ebefcc08531c15a2f3aa53fedcb31ef.zip
Revert beams to not affect the source cell.
The change was originally done to allow hostile oklobs to target the player if he happens to be standing in the same cell, but they appear to do that successfully regardless. Fixes issue #133, issue #246.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index aad832b574..61f5640d07 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -232,7 +232,7 @@ private:
// operate on the beam's current position (i.e., whatever pos()
// returns.)
public:
- void affect_cell(bool avoid_self = false);
+ void affect_cell();
void affect_wall();
void affect_monster( monsters* m );
void affect_player();