diff options
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 16614b3cc5..7d41d5fbce 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2406,7 +2406,7 @@ void beam_drop_object( bolt &beam, item_def *item, int x, int y ) copy_item_to_grid( *item, x, y, 1 ); // nobody there - if (you.x_pos != x && you.y_pos != y && mgrd[x][y] == NON_MONSTER) + if ((you.x_pos != x || you.y_pos != y) && mgrd[x][y] == NON_MONSTER) return; // player or monster on position but hasn't been caught |