From: Eric S. Raymond Date: Thu, 3 Feb 2005 20:08:04 +0000 (+0000) Subject: REmove half the conditionals. X-Git-Tag: 2.0~402 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=80aa958a55a62baa32586414ac671ee450369d25 REmove half the conditionals. --- diff --git a/setup.c b/setup.c index ca00504..58f45f1 100644 --- a/setup.c +++ b/setup.c @@ -1,8 +1,6 @@ #include #include -#ifdef SERGEEV -#include -#endif /* SERGEEV */ +#include "conio.h" #include "sst.h" #ifdef __linux__ @@ -17,10 +15,10 @@ void prelim(void) { skip(2); prout("-SUPER- STAR TREK"); skip(1); -#ifndef SERGEEV +#ifndef __HISTORICAL__ prout("Latest update-21 Sept 78"); skip(1); -#endif /* SERGEEV */ +#endif /* __HISTORICAL__ */ } void freeze(int boss) { @@ -400,9 +398,6 @@ void randomize(void) { } int choose(int needprompt) { -#ifdef SERGEEV - int i; -#endif /* SERGEEV */ while (TRUE) { tourn = 0; thawed = 0; @@ -425,13 +420,8 @@ int choose(int needprompt) { srand((unsigned int)(int)aaitem); break; } -#ifdef SERGEEV - if (isit("saved")) { + if (isit("frozen") || isit("frozen")) { if (thaw()) continue; -#else - if (isit("frozen")) { - thaw(); -#endif /* SERGEEV */ chew(); #ifndef SERGEEV if (*game.passwd==0) continue;