From 80aa958a55a62baa32586414ac671ee450369d25 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 3 Feb 2005 20:08:04 +0000 Subject: [PATCH] REmove half the conditionals. --- setup.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) 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; -- 2.31.1