diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-02 06:48:20 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-02 13:44:54 +0100 |
commit | 6a31aa9e10181fa0bcdebe7ab263b7e428bd605a (patch) | |
tree | c62b9cdb1363bf1eb979f545dd66fa322df4a7b9 /crawl-ref/source/l_debug.cc | |
parent | ea129f0f56d9dfc1b3abd5653b1737c2a6089684 (diff) | |
download | crawl-ref-6a31aa9e10181fa0bcdebe7ab263b7e428bd605a.tar.gz crawl-ref-6a31aa9e10181fa0bcdebe7ab263b7e428bd605a.zip |
Store the entry level for every branch (rather than just depth).
This allows moving branches around without breaking save compat or at least
serious hacks.
The portal stack can be probably dropped now: two copies of the same level
can't exist anyway.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r-- | crawl-ref/source/l_debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc index d1196d3102..1ebf8655ba 100644 --- a/crawl-ref/source/l_debug.cc +++ b/crawl-ref/source/l_debug.cc @@ -51,7 +51,7 @@ LUAFN(debug_goto_place) lua_isnumber(ls, 2)? luaL_checkint(ls, 2) : -1; you.goto_place(id); if (bind_entrance != -1) - startdepth[you.where_are_you] = bind_entrance; + brentry[you.where_are_you].depth = bind_entrance; } catch (const string &err) { |