fix again....

This commit is contained in:
tildearrow 2023-08-25 03:47:09 -05:00
parent c3b5004e66
commit 91c3c04082
1 changed files with 10 additions and 2 deletions

View File

@ -2264,8 +2264,16 @@ void DivInstrument::readFeatureOx(SafeReader& reader, int op, short version) {
// <167 TL macro compat
if (macroCode==6 && version<167) {
for (int i=0; i<target->len; i++) {
target->val[i]^=0x7f;
for (int i=0; i<4; i++) {
if (target->open&6) {
for (int j=0; j<2; j++) {
target->val[j]^=0x7f;
}
} else {
for (int j=0; j<target->len; j++) {
target->val[j]^=0x7f;
}
}
}
}
}