diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-26 11:32:57 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-26 11:32:57 +0000 |
commit | ce6a7efb9404d67af78ecd3a42d2e4f430b8cbab (patch) | |
tree | 9faeef5b828dc92839f8320a2e4b8e3af8c810e9 /crawl-ref/source/effects.cc | |
parent | f2341f8e9711e2154a826e85e28280d02337dc36 (diff) | |
download | crawl-ref-ce6a7efb9404d67af78ecd3a42d2e4f430b8cbab.tar.gz crawl-ref-ce6a7efb9404d67af78ecd3a42d2e4f430b8cbab.zip |
Fix bug 1814617: teleport/banish not clearing being trapped in net
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2588 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 034a9885cd..05cf9168c3 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -49,6 +49,7 @@ #include "state.h" #include "stuff.h" #include "terrain.h" +#include "traps.h" #include "view.h" #include "xom.h" @@ -273,6 +274,9 @@ void banished(dungeon_feature_type gate_type, const std::string &who) take_note(Note(NOTE_MESSAGE, 0, 0, what.c_str()), true); } + // no longer held in net + clear_trapping_net(); + down_stairs(you.your_level, gate_type, you.entry_cause); // heh heh } |