Get rid of another magic number.
[super-star-trek.git] / sst.c
diff --git a/sst.c b/sst.c
index 3d394c67b4da2097edf5f027d119589227e3c5e3..87595a694e8c7670e7e6a82203cec54e10f66abe 100644 (file)
--- 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;