From: Eric S. Raymond Date: Tue, 12 Sep 2006 17:28:40 +0000 (+0000) Subject: Fix game type parsing. X-Git-Tag: 2.0~295 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=33260392e158234e108910e2cc2ab18cd7416c31;p=super-star-trek.git Fix game type parsing. --- 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("\"?");