summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-29 10:21:31 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-29 10:21:31 +0000
commit5d132a7fba202b7b19807d1058ac680bfbb1e0f3 (patch)
treeb5f835f7fe89d9e6dd361827f49f05dd46d18bfe /crawl-ref/source/initfile.cc
parent8e007cb6cfee369df63f9adcd6ba2b1aca67f823 (diff)
downloadcrawl-ref-5d132a7fba202b7b19807d1058ac680bfbb1e0f3.tar.gz
crawl-ref-5d132a7fba202b7b19807d1058ac680bfbb1e0f3.zip
Set note_hp_percent to 5 by default (David).
Add stones to default fire_order. Removed unused function. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@901 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 7b385849dd..6f00509838 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -598,7 +598,7 @@ void game_options::reset_options()
use_notes = true;
note_skill_max = false;
note_all_spells = false;
- note_hp_percent = 0;
+ note_hp_percent = 5;
ood_interesting = 8;
terse_hand = true;
increasing_skill_progress = true;
@@ -681,12 +681,13 @@ void game_options::reset_options()
// Note: These fire options currently match the old behaviour. -- bwr
fire_items_start = 0; // start at slot 'a'
+ // Clear fire_order and set up the defaults.
+ for (int i = 0; i < NUM_FIRE_TYPES; i++)
+ fire_order[i] = FIRE_NONE;
+
fire_order[0] = FIRE_LAUNCHER; // fire first from bow...
fire_order[1] = FIRE_DART; // then only consider darts
-
- // clear the rest of the list
- for (int i = 2; i < NUM_FIRE_TYPES; i++)
- fire_order[i] = FIRE_NONE;
+ fire_order[2] = FIRE_STONE; // and then chuck stones
#ifdef WIZARD
fsim_rounds = 40000L;