Change the condition field from an uint with #defines to an enum.
[super-star-trek.git] / src / io.c
index b60fec51645f9d8ba8c597c14e63e28677f1814c..74b3fce9ea87eba3dc5dd225c0b76f8e6012e588 100644 (file)
--- a/src/io.c
+++ b/src/io.c
@@ -397,7 +397,7 @@ void tracktorpedo(coord w, int l, int i, int n, int iquad)
            skip(1);
        proutn("%d - %d   ", w.x, w.y);
     } else {
-       if (!damaged(DSRSENS) || game.condit==IHDOCKED) {
+       if (!damaged(DSRSENS) || game.condition==docked) {
            if (i != 1 && l == 1) {
                drawmaps(2);
                delay(400);