X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=setup.c;h=649774487639b56d45ab29ebd98570cf51b849f8;hp=5b8c20d2b65c1798caa07f31aa60e515be3b8dda;hb=5ac8c94a3ddf49203587787f3cb0d85052e51d55;hpb=03ea69145938e4b01e7efc6be80a543bad1739c7 diff --git a/setup.c b/setup.c index 5b8c20d..6497744 100644 --- a/setup.c +++ b/setup.c @@ -378,6 +378,10 @@ void setup(int needprompt) { if (neutz) attack(0); // bad luck to start in a Romulan Neutral Zone } +void randomize(void) { + srand((int)time(NULL)); +} + int choose(int needprompt) { tourn = 0; thawed = 0;