diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-17 07:47:50 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-17 07:47:50 +0000 |
commit | 0a69a524938f8c559947685b901abdb22043925b (patch) | |
tree | b54afdee8f5b7d1669fdd2453cd5f6fe733bb687 /crawl-ref/source/item_use.cc | |
parent | ae735f39601423c88be471340dfe88dc3d3d103d (diff) | |
download | crawl-ref-0a69a524938f8c559947685b901abdb22043925b.tar.gz crawl-ref-0a69a524938f8c559947685b901abdb22043925b.zip |
Apply r6579 to 0.4.1, and revert my local makefile change (oops!)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6581 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 3a202aa312..0d29c0f554 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2585,7 +2585,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, if (teleport) { // Violating encapsulation somewhat...oh well. - hit = (affect(pbolt, pbolt.target_x, pbolt.target_y) != 0); + hit = (affect(pbolt, pbolt.target_x, pbolt.target_y, &item) != 0); if (acc_bonus != DEBUG_COOKIE) beam_drop_object(pbolt, &item, pbolt.target_x, pbolt.target_y); } |