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-09 15:04:14 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-09 15:04:14 +0000
commit47fdcd399772f8805e93b76885499b11da454443 (patch)
tree2a6cdc960eb8ff572b50873087eeee8f84a5d258 /crawl-ref/source/traps.h
parentd9cb0f334db46b516dd51e18ff1615601243452c (diff)
downloadcrawl-ref-47fdcd399772f8805e93b76885499b11da454443.tar.gz
crawl-ref-47fdcd399772f8805e93b76885499b11da454443.zip
Make mechanical traps in Orcish Mines and Elven Halls of
appropriate racial type. I'd prefer it if there was a chance involved but IMHO a given trap should shoot the same (racial) type of ammo, so this is now always the case in these two branches, for all of needle, arrow, bolt, spear and axe traps. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2395 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 76983c27bf..224c147aa6 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -34,7 +34,7 @@ void free_self_from_net(void);
/* ***********************************************************************
* called from: acr - misc
* *********************************************************************** */
-void handle_traps(char trt, int i, bool trap_known);
+void handle_traps(trap_type trt, int i, bool trap_known);
int get_trapping_net(int x, int y, bool trapped = true);
void mark_net_trapping(int x, int y);
void monster_caught_in_net(monsters *mon, bolt &pbolt);