diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 19:34:28 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 20:40:18 +0100 |
commit | 1010ec5516dd432020909da90c60ed78c45b70b2 (patch) | |
tree | e8aa5639e20f9bb5990b97dd4c44bb4e5a30a13c /crawl-ref/source/traps.cc | |
parent | 05eb29bffa0b2ffd22d36a16c93bc33c7d2bd3fc (diff) | |
download | crawl-ref-1010ec5516dd432020909da90c60ed78c45b70b2.tar.gz crawl-ref-1010ec5516dd432020909da90c60ed78c45b70b2.zip |
Test branch flags against BFLAG not LFLAG.
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r-- | crawl-ref/source/traps.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index 4251ffe78f..25124e4af5 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -1300,7 +1300,7 @@ bool is_valid_shaft_level(const level_id &place) // reaching stairs, and also keeps player from getting stuck // on lower levels with the innability to use teleport control to // get back up. - if (testbits(get_branch_flags(place.branch), LFLAG_NO_TELE_CONTROL)) + if (testbits(get_branch_flags(place.branch), BFLAG_NO_TELE_CONTROL)) return (false); const Branch &branch = branches[place.branch]; |