From 5ac5eb15bb34f4c10a7146f05eae315d2b7cc12f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 21 Apr 2020 21:20:40 +0200 Subject: [PATCH] fixed bug with potentially wrong data size at tape position --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index 51fd5b2e..2ca99766 100644 --- a/src/files.c +++ b/src/files.c @@ -7723,7 +7723,7 @@ static int LoadTape_BODY(File *file, int chunk_size, struct TapeInfo *tape) // tape too large; read and ignore remaining tape data from this chunk for (;i < tape->length; i++) - ReadUnusedBytesFromFile(file, tape->num_participating_players + 1); + ReadUnusedBytesFromFile(file, tape_pos_size); break; } -- 2.34.1