- if (docked)
- condition = 0;
- else
- {
- condition = 1;
-
- for (i = 0; i < MAX_UNIV_OBJECTS; i++)
- {
- type = universe[i].type;
-
- if ((type == SHIP_MISSILE) ||
- ((type > SHIP_ROCK) && (type < SHIP_DODEC)))
- {
- condition = 2;
- break;
- }
- }
-
- if ((condition == 2) && (energy < 128))
- condition = 3;
- }
-