mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
- Blood: Add interpolation repair for kQAVVDUP
(res_id: 100).
This commit is contained in:
parent
3a656c91cb
commit
1fd66681d2
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue