X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.c;h=87595a694e8c7670e7e6a82203cec54e10f66abe;hp=3d394c67b4da2097edf5f027d119589227e3c5e3;hb=1e2622cf770b7183b813e0dc0095f085dda4419f;hpb=8629b4a298e31f81ba0db0debb4796356c3966c7 diff --git a/sst.c b/sst.c index 3d394c6..87595a6 100644 --- a/sst.c +++ b/sst.c @@ -751,7 +751,7 @@ void debugme(void) for (i=0; i < NDEVICES; i++) if (game.damage[i] > 0.0) game.damage[i] = 0.0; - stdamtim = 1e30; + stdamtim = FOREVER; } proutn("Toggle idebug? "); if (ja() != 0) { @@ -770,7 +770,8 @@ void debugme(void) key = scan(); if (key == IHALPHA && isit("y")) { game.damage[i] = 10.0; - if (i == DRADIO) stdamtim = game.state.date; + if (i == DRADIO) + stdamtim = game.state.date; } } } @@ -779,7 +780,7 @@ void debugme(void) int i; for (i = 1; i < NEVENTS; i++) { int key; - if (game.future[i] == 1e30) continue; + if (game.future[i] == FOREVER) continue; switch (i) { case FSNOVA: proutn("Supernova "); break; case FTBEAM: proutn("T Beam "); break;