From 88476ef9569929088137a21fcb4822ae7a83431a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 7 May 2008 21:30:12 +0000 Subject: Properly save friendly pickup setting as a player variable (rather than options). This increases the minor version by 1. Also, tidy up the checks of this settings. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4916 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index b7fdba8714..dbe150e71f 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1477,7 +1477,7 @@ static void set_entry_cause(entry_cause_type default_cause, if (crawl_state.is_god_acting()) { if (crawl_state.is_god_retribution()) - you.entry_cause = EC_GOD_RETRIUBTION; + you.entry_cause = EC_GOD_RETRIBUTION; else you.entry_cause = EC_GOD_ACT; @@ -2122,7 +2122,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, if (newlevel) { // When entering a new level, reset friendly_pickup to default. - Options.friendly_pickup = Options.default_friendly_pickup; + you.friendly_pickup = Options.default_friendly_pickup; switch(you.level_type) { -- cgit v1.2.3-54-g00ecf