Change the condition field from an uint with #defines to an enum.
[super-star-trek.git] / src / planets.c
index 52bc32d6c4f02ad6ee950d288708e64aca859b61..1589a86720997cdc37473358cc3619aaa6278665 100644 (file)
@@ -235,7 +235,7 @@ void usecrystals(void)
     }
     if (game.energy >= 1000) {
        prout(_("Spock-  \"Captain, Starfleet Regulations prohibit such an operation"));
-       prout(_("  except when condition Yellow exists."));
+       prout(_("  except when Condition Yellow exists."));
        return;
     }
     prout(_("Spock- \"Captain, I must warn you that loading"));
@@ -306,7 +306,7 @@ void shuttle(void)
        prout(_("You will have to beam down to retrieve the shuttle craft."));
        return;
     }
-    if (game.shldup || game.condit == IHDOCKED) {
+    if (game.shldup || game.condition == docked) {
        prout(_("Shuttle craft cannot pass through shields."));
        return;
     }