summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-01 07:51:02 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-01 07:51:02 +0000
commitde2ef98bacd84d676d75948fa33075fa55b99c18 (patch)
tree87b79b98fa685a017c1c13ba4494c8b17d181f59 /crawl-ref/source/traps.h
parentae65d11576dbc6e348b439a13bb7b6c6712c827c (diff)
downloadcrawl-ref-de2ef98bacd84d676d75948fa33075fa55b99c18.tar.gz
crawl-ref-de2ef98bacd84d676d75948fa33075fa55b99c18.zip
Overhaul trapping net escape functions.
With the help of several factors (such as size, wielded weapon or stats) the game decides whether you should try to destroy the net to come free, or try to slip out of it. The same calculation also influences how long this will take. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2278 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 494fcd7c4a..76983c27bf 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -28,7 +28,7 @@ bool trap_item(object_class_type base_type, char sub_type,
* *********************************************************************** */
void disarm_trap(struct dist &disa);
void remove_net_from( monsters *mon );
-void free_self_from_net( bool damage_net = true );
+void free_self_from_net(void);
// last updated 12may2000 {dlb}
/* ***********************************************************************