diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-01 17:37:56 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-01 17:37:56 +0000 |
commit | 11c08abe629362a45f0276212dfcd5ca2069b9b8 (patch) | |
tree | 94d78cb7d876adab5c7a46ee540694dfdb78c2d7 /crawl-ref/source/travel.h | |
parent | 127bc45cca50bbfc9112612b54969c7b889145cb (diff) | |
download | crawl-ref-11c08abe629362a45f0276212dfcd5ca2069b9b8.tar.gz crawl-ref-11c08abe629362a45f0276212dfcd5ca2069b9b8.zip |
The royal jelly's death triggers wall change even if it is off-level. Also fixed being able to lose the royal jelly when banishing it and crash when killing the royal jelly in the Abyss.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4030 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index bada932b2b..91867b5386 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -204,11 +204,6 @@ public: level_id(branch_type br, int dep, level_area_type ltype = LEVEL_DUNGEON) : branch(br), depth(dep), level_type(ltype) { - if (level_type != LEVEL_DUNGEON) - { - depth = -1; - branch = NUM_BRANCHES; - } } level_id(const level_id &ot) : branch(ot.branch), depth(ot.depth), level_type(ot.level_type) |