ignore centerRate in old version

This commit is contained in:
tildearrow 2022-02-04 03:34:38 -05:00
parent 902febe298
commit 29174e97cc
1 changed files with 2 additions and 1 deletions

View File

@ -2213,7 +2213,8 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
// reserved
reader.readC();
if (ds.version>=32) {
// while version 32 stored this value, it was unused.
if (ds.version>=38) {
sample->centerRate=reader.readS();
} else {
reader.readS();