diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-12-26 16:39:47 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-12-26 16:45:10 +0100 |
commit | 414b1c3e9ebefcc08531c15a2f3aa53fedcb31ef (patch) | |
tree | 5f9e83dcaa26141f0ddf92cd099ab83ff1ba55d1 /crawl-ref/source/beam.h | |
parent | e5e6474f335d47ce81f0d33d5adf95b4dd64ba46 (diff) | |
download | crawl-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.h | 2 |
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(); |