InitRND(tape.random_seed);
}
-void TapeStartRecording()
+static void TapeSetRandomSeed(long random_seed)
+{
+ tape.random_seed = InitRND(random_seed);
+}
+
+void TapeStartRecording(long random_seed)
{
if (!TAPE_IS_STOPPED(tape))
TapeStop();
TapeErase();
TapeRewind();
+ TapeSetRandomSeed(random_seed);
tape.recording = TRUE;
static void TapeStartGameRecording()
{
- TapeStartRecording();
+ TapeStartRecording(NEW_RANDOMIZE);
#if defined(NETWORK_AVALIABLE)
if (options.network)
continue;
}
+#if 0
+ /* ACTIVATE THIS FOR LOADING/TESTING OF LEVELS ONLY */
+ printf("(only testing level)\n");
+ continue;
+#endif
+
LoadSolutionTape(level_nr);
#if 1
if (tape.no_valid_file)