X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsetup.c;h=3eba6fe3dd8e3691edbd8d78f24a8af095a8a9da;hp=e56e1e3f3585b5540009e5095f732d806ea650e3;hb=a0afd227763655ee0ecd7ef5faea92d63d5c5ba6;hpb=fec5bf04131385b55dc3b0ad9c7d8d245a7d07da diff --git a/src/setup.c b/src/setup.c index e56e1e3..3eba6fe 100644 --- a/src/setup.c +++ b/src/setup.c @@ -225,14 +225,14 @@ void abandn(void) return; } -void setup(int needprompt) +void setup(bool needprompt) { int i,j, krem, klumper; int ix, iy; // Decide how many of everything if (choose(needprompt)) return; // frozen game // Prepare the Enterprise - game.alldone = game.gamewon = 0; + game.alldone = game.gamewon = false; game.ship = IHE; game.state.crew = FULLCREW; game.energy = game.inenrg = 5000.0;