X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=49f06aa32272c5f77c13e0de6584d78411a23561;hb=0e9667dbd99ad85fd554c571a9b0e63d7c552551;hp=fc90ad51461d9beccc831c1cb5c712268ae48074;hpb=5ae3fc5d27076677a95153162abcf527c6dc8e63;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index fc90ad51..49f06aa3 100644 --- a/src/tape.c +++ b/src/tape.c @@ -475,7 +475,7 @@ void TapeErase() tape.pos[tape.counter].delay = 0; tape.changed = TRUE; - tape.random_seed = InitRND(NEW_RANDOMIZE); + tape.random_seed = InitRND(level.random_seed); tape.file_version = FILE_VERSION_ACTUAL; tape.game_version = GAME_VERSION_ACTUAL; @@ -538,7 +538,7 @@ void TapeStartRecording(long random_seed) static void TapeStartGameRecording() { - TapeStartRecording(NEW_RANDOMIZE); + TapeStartRecording(level.random_seed); #if defined(NETWORK_AVALIABLE) if (options.network)