- Blood: Add interpolation repair for kQAVBUNTHRO (res_id: 23).

This commit is contained in:
Mitchell Richters 2021-08-09 14:25:36 +10:00
parent 7f9f57e4e6
commit 8944f2e57d

View file

@ -558,6 +558,14 @@ static void qavRepairTileData(QAV* pQAV)
pQAV->frames[3].tiles[2] = pQAV->frames[3].tiles[1];
pQAV->frames[3].tiles[1].picnum = -1;
break;
case kQAVBUNTHRO:
// BUNTHRO has several tile indices that require repairs here to minimise continual checks at draw time.
// For frame 3, move tile indices 0 and 1 into 3 and 2, and disable original indices.
pQAV->frames[3].tiles[3] = pQAV->frames[3].tiles[0];
pQAV->frames[3].tiles[2] = pQAV->frames[3].tiles[1];
pQAV->frames[3].tiles[0].picnum = -1;
pQAV->frames[3].tiles[1].picnum = -1;
break;
default:
return;
}