From: Holger Schemel Date: Tue, 21 Apr 2020 19:20:40 +0000 (+0200) Subject: fixed bug with potentially wrong data size at tape position X-Git-Tag: 4.2.0.0~42 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5ac5eb15bb34f4c10a7146f05eae315d2b7cc12f;p=rocksndiamonds.git fixed bug with potentially wrong data size at tape position --- 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; }