- Blood: Add interpolation repair for kQAVVDUP (res_id: 100).

This commit is contained in:
Mitchell Richters 2021-08-13 08:16:24 +10:00
parent 3a656c91cb
commit 1fd66681d2

View file

@ -1133,6 +1133,12 @@ static void qavRepairTileData(QAV* pQAV)
pQAV->frames[i].tiles[1].picnum = 2351;
}
break;
case kQAVVDUP:
// VDUP requires tile indices on the last frame to be swapped around.
backup = pQAV->frames[pQAV->nFrames-1].tiles[0];
pQAV->frames[pQAV->nFrames-1].tiles[0] = pQAV->frames[pQAV->nFrames - 1].tiles[1];
pQAV->frames[pQAV->nFrames-1].tiles[1] = backup;
break;
default:
return;
}