From 414b1c3e9ebefcc08531c15a2f3aa53fedcb31ef Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 26 Dec 2009 16:39:47 +0100 Subject: 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. --- crawl-ref/source/beam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/beam.h') 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(); -- cgit v1.2.3-54-g00ecf