From 3037e46604dbd1416349dc83c0621f3015bbd013 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 25 Jun 2008 22:14:02 +0000 Subject: Apply a patch by Rob Grant (spoondrift) that enables all combinations of species/class except those that are outright impossible (because of god restrictions). When choosing a character, you can pick any random character or one of the recommended combinations. This does not take (un)restricted choices for weapons/books/gods into account. Apart from that, it's pretty good, though we might want to (un)restrict some combinations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6142 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/initfile.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 9891bf14ad..d759d130d2 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -456,6 +456,7 @@ void game_options::reset_startup_options() weapon = WPN_UNKNOWN; book = SBT_NO_SELECTION; random_pick = false; + good_random = true; chaos_knight = GOD_NO_GOD; death_knight = DK_NO_SELECTION; priest = GOD_NO_GOD; @@ -2091,6 +2092,7 @@ void game_options::read_option_line(const std::string &str, bool runscript) } BOOL_OPTION(random_pick); + else BOOL_OPTION(good_random); else BOOL_OPTION(remember_name); #ifndef SAVE_DIR_PATH else if (key == "save_dir") -- cgit v1.2.3-54-g00ecf