+
+unsigned int InitEngineRandom_SP(long seed)
+{
+ if (seed == NEW_RANDOMIZE)
+ {
+#if 0
+ printf("::: init.c: InitEngineRandom_SP(): subRandomize()\n");
+#endif
+
+ subRandomize();
+
+ seed = (long)RandomSeed;
+ }
+
+ RandomSeed = (short)seed;
+
+#if 0
+ printf("::: init.c: InitEngineRandom_SP(): RandomSeed == %d\n", RandomSeed);
+#endif
+
+ return (unsigned int) seed;
+}