summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-26 08:59:37 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-26 09:02:03 +1000
commit4e9088e3e1e500b31d321c696c67ade46df08b8c (patch)
treeecb63c90f61f36323087864d98948e429d95786f /crawl-ref/source/mon-act.cc
parentd14f7a3f2ff330c484789d1cd9a1082176b46e3b (diff)
downloadcrawl-ref-4e9088e3e1e500b31d321c696c67ade46df08b8c.tar.gz
crawl-ref-4e9088e3e1e500b31d321c696c67ade46df08b8c.zip
Fix wiz-mode Ziggurats not being properly initialised [BR2903984]
The code references the "portal" object (created in ziggurat_portal, which is also passed to the onclimb initialiser) which is not actually used for Wizard Mode portals. Fixed this by a) checking whether or not there was a portal included in the zig() "check to see if we're using &P", and also adding a parameter to to ziggurat_portal which just returns the actual portal.
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
0 files changed, 0 insertions, 0 deletions