projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab0222
)
fixed bug with potentially wrong data size at tape position
author
Holger Schemel
<info@artsoft.org>
Tue, 21 Apr 2020 19:20:40 +0000
(21:20 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 19 May 2020 16:21:19 +0000
(18:21 +0200)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 51fd5b2ed313a22967001afe6eeeb477b3ec1c15..2ca9976684473f08bf0f9cbf1fe4954e79b0b1c5 100644
(file)
--- 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;
}