First step towards getting rid of the non-ANSI stuff.
[super-star-trek.git] / setup.c
diff --git a/setup.c b/setup.c
index 5b8c20d2b65c1798caa07f31aa60e515be3b8dda..649774487639b56d45ab29ebd98570cf51b849f8 100644 (file)
--- 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\r
 }\r
 \r
+void randomize(void) {\r
+       srand((int)time(NULL));\r
+}\r
+\r
 int choose(int needprompt) {\r
        tourn = 0;\r
        thawed = 0;\r