mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +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;
|
pQAV->frames[i].tiles[1].picnum = 2351;
|
||||||
}
|
}
|
||||||
break;
|
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:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue