mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 03:20:44 +00:00
- Blood: Add interpolation repair for kQAVSGUNIDL1
(res_id: 75).
This commit is contained in:
parent
7eca7ea166
commit
5160b7649c
1 changed files with 8 additions and 0 deletions
|
@ -961,6 +961,14 @@ static void qavRepairTileData(QAV* pQAV)
|
||||||
pQAV->frames[0].tiles[1].x -= pQAV->frames[1].tiles[0].x - pQAV->frames[0].tiles[0].x;
|
pQAV->frames[0].tiles[1].x -= pQAV->frames[1].tiles[0].x - pQAV->frames[0].tiles[0].x;
|
||||||
pQAV->frames[0].tiles[1].y -= pQAV->frames[1].tiles[0].y - pQAV->frames[0].tiles[0].y;
|
pQAV->frames[0].tiles[1].y -= pQAV->frames[1].tiles[0].y - pQAV->frames[0].tiles[0].y;
|
||||||
break;
|
break;
|
||||||
|
case kQAVSGUNIDL1:
|
||||||
|
// SGUNIDL1 has overlay 3232 permanently applied which is at odds with the weapon rising,
|
||||||
|
// and the other idling QAV. Disable it entirely.
|
||||||
|
for (i = 0; i < pQAV->nFrames; i++)
|
||||||
|
{
|
||||||
|
pQAV->frames[i].tiles[1].picnum = -1;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue