X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ffiles.c;h=bfa9f8160f1d6f9f88630477d8e7ca4209ed4148;hp=9d1c35ac393fe7c5372dcc4bec9515631543201f;hb=9c92df9586b75ab4afc1345e944108e95e2f8174;hpb=f7f811394065061581b0fb679687e473b4ce03cc diff --git a/src/files.c b/src/files.c index 9d1c35ac..bfa9f816 100644 --- a/src/files.c +++ b/src/files.c @@ -3743,7 +3743,8 @@ static void CopyNativeTape_SP_to_RND(struct LevelInfo *level) tape.pos[i].delay = demo_repeat + 1; } - tape.length_seconds = GetTapeLength(); + tape.length_frames = GetTapeLengthFrames(); + tape.length_seconds = GetTapeLengthSeconds(); } @@ -7430,7 +7431,8 @@ void LoadTape_SokobanSolution(char *filename) if (tape.no_valid_file) return; - tape.length_seconds = GetTapeLength(); + tape.length_frames = GetTapeLengthFrames(); + tape.length_seconds = GetTapeLengthSeconds(); } void LoadTapeFromFilename(char *filename) @@ -7572,7 +7574,8 @@ void LoadTapeFromFilename(char *filename) closeFile(file); - tape.length_seconds = GetTapeLength(); + tape.length_frames = GetTapeLengthFrames(); + tape.length_seconds = GetTapeLengthSeconds(); #if 0 printf("::: tape file version: %d\n", tape.file_version);