From 2817900512f1f92a5d8738723373ab378fd1d6e5 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 19 Jul 2009 19:04:23 +0000 Subject: Add yet more Jiyva-related cleanups. Make sure his altars are never generated if the royal jelly is dead, you don't worship Jiyva, and you're not under penance from Jiyva; don't destroy Jiyva's altars if the royal jelly dies after you start worshipping him or go under penance from him; and clean up the alternate method for unlocking the Slime Pits. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10332 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 088d71361d..e4922298df 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6009,13 +6009,14 @@ void player::init() spell_no = 0; - your_level = 0; - level_type = LEVEL_DUNGEON; - entry_cause = EC_SELF_EXPLICIT; - entry_cause_god = GOD_NO_GOD; - where_are_you = BRANCH_MAIN_DUNGEON; - char_direction = GDT_DESCENDING; - opened_zot = false; + your_level = 0; + level_type = LEVEL_DUNGEON; + entry_cause = EC_SELF_EXPLICIT; + entry_cause_god = GOD_NO_GOD; + where_are_you = BRANCH_MAIN_DUNGEON; + char_direction = GDT_DESCENDING; + opened_zot = false; + royal_jelly_dead = false; prev_targ = MHITNOT; pet_target = MHITNOT; -- cgit v1.2.3-54-g00ecf