summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-29 22:43:19 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-29 22:44:54 -0800
commit8a504d20b9992fea2daac06faa6ca5559ca63ae0 (patch)
tree2e809b12b5e1020ebe4ee3237025081d5cd22816 /crawl-ref/source/item_use.h
parent75c0968931bf47f6f718b91ce3f589cd9f815298 (diff)
downloadcrawl-ref-8a504d20b9992fea2daac06faa6ca5559ca63ae0.tar.gz
crawl-ref-8a504d20b9992fea2daac06faa6ca5559ca63ae0.zip
Give move/copy_item_to_grid responsibility for hazardous terrain
We now have much less duplication of logic, yay.
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index a76dc3843c..bba83aa3b4 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -104,8 +104,7 @@ void throw_noise(actor* act, const bolt &pbolt, const item_def &ammo);
bool throw_it(bolt &pbolt, int throw_2, bool teleport = false,
int acc_bonus = 0, dist *target = NULL);
-bool thrown_object_destroyed(item_def *item, const coord_def& where,
- bool returning);
+bool thrown_object_destroyed(item_def *item, const coord_def& where);
void prompt_inscribe_item();
int launcher_shield_slowdown(const item_def &launcher,