From 2be5d5f08528b99817be0cf6fe8c04bab40842ec Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 27 Dec 2009 16:37:34 +0100 Subject: Untie disarm confirmations from autotravel settings (Mantis 254). Since it is done only on an explicit request, copious safety margins are not needed. I didn't provide an alternate way to disable the confirmation, but since the danger is now always real, I don't think that's needed. --- crawl-ref/source/trap_def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/trap_def.h') diff --git a/crawl-ref/source/trap_def.h b/crawl-ref/source/trap_def.h index 90c2cc4372..2ec924d3b4 100644 --- a/crawl-ref/source/trap_def.h +++ b/crawl-ref/source/trap_def.h @@ -18,6 +18,7 @@ struct trap_def void prepare_ammo(); bool type_has_ammo() const; bool active() const; + int max_damage(const actor& act); private: void message_trap_entry(); -- cgit v1.2.3-54-g00ecf