From ed3c8c2ae59a947f065499f63daa03fec3a6840d Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 12 Feb 2009 13:13:40 +0000 Subject: Clearing trapping nets moved into player::moveto() and level change. This fixes some bugs (e.g. Portal spell and nets interact properly.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9036 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/traps.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/traps.h') diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h index bfa5eaa528..5f2385169a 100644 --- a/crawl-ref/source/traps.h +++ b/crawl-ref/source/traps.h @@ -31,8 +31,8 @@ void handle_traps(trap_type trt, int i, bool trap_known); int get_trapping_net(const coord_def& where, bool trapped = true); void mark_net_trapping(const coord_def& where); void monster_caught_in_net(monsters *mon, bolt &pbolt); -void player_caught_in_net(void); -void clear_trapping_net(void); +void player_caught_in_net(); +void clear_trapping_net(); void check_net_will_hold_monster(monsters *mon); void destroy_trap(const coord_def& pos); -- cgit v1.2.3-54-g00ecf