diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 13:13:40 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 13:13:40 +0000 |
commit | ed3c8c2ae59a947f065499f63daa03fec3a6840d (patch) | |
tree | fa2d6529968da6fa33359f3961697b6e405c65b3 /crawl-ref/source/traps.h | |
parent | 2368157486f9e3c0806d3d79e939fbc3533eb105 (diff) | |
download | crawl-ref-ed3c8c2ae59a947f065499f63daa03fec3a6840d.tar.gz crawl-ref-ed3c8c2ae59a947f065499f63daa03fec3a6840d.zip |
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
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r-- | crawl-ref/source/traps.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |