From 33260392e158234e108910e2cc2ab18cd7416c31 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 12 Sep 2006 17:28:40 +0000 Subject: [PATCH 1/1] Fix game type parsing. --- setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.c b/setup.c index 9bf6a25..8499184 100644 --- a/setup.c +++ b/setup.c @@ -478,14 +478,14 @@ int choose(int needprompt) game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_THINGY | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE); game.options |= OPTION_PLAIN; } - if (isit("almy")) { + else if (isit("almy")) { // Approximates Tom Almy's version. game.options &=~ (OPTION_THINGY | OPTION_BLKHOLE | OPTION_BASE); game.options |= OPTION_ALMY; } - if (isit("fancy")) + else if (isit("fancy")) /* do nothing */; - if (strlen(citem)) { + else if (strlen(citem)) { proutn("What is \""); proutn(citem); prout("\"?"); -- 2.31.1