fix(region): add missing breaks to process boolean switch

This commit is contained in:
fallenoak 2023-03-31 16:16:01 -05:00
parent cdd3413a1b
commit b05b987e73
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D

View file

@ -122,24 +122,32 @@ void ProcessBooleanOperation(TSGrowableArray<SOURCE>* sourceArray, int32_t combi
if ((~source->flags >> 1) & 0x1) {
DeleteSourceRect(sourceArray, i);
}
break;
}
case 3: {
if (source->flags & 0x2) {
DeleteSourceRect(sourceArray, i);
}
break;
}
case 4: {
if (source->flags & (0x1 | 0x2)) {
DeleteSourceRect(sourceArray, i);
}
break;
}
case 5: {
if (source->flags & 0x1) {
DeleteSourceRect(sourceArray, i);
}
break;
}
default: