- Blood: Add interpolation repair for kQAVBUNDROP (res_id: 22).

This commit is contained in:
Mitchell Richters 2021-08-09 14:25:07 +10:00
parent 54cdc8ffc3
commit 7f9f57e4e6

View file

@ -552,6 +552,12 @@ static void qavRepairTileData(QAV* pQAV)
pQAV->frames[i].tiles[2] = backup;
}
break;
case kQAVBUNDROP:
// BUNDROP needs frame 3 tile 1 moved to tile 2 to avoid needing its own interpolation callback.
// For frame 3, move tile index 2 into 3, and disable original index of 2.
pQAV->frames[3].tiles[2] = pQAV->frames[3].tiles[1];
pQAV->frames[3].tiles[1].picnum = -1;
break;
default:
return;
}