mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
- Exhumed: fixed scrolling floor/ceilings.
This commit is contained in:
parent
41ad44bf40
commit
e2f546862b
1 changed files with 4 additions and 4 deletions
|
@ -724,8 +724,8 @@ void DoFlows()
|
||||||
sFlowInfo[i].ydelta &= sFlowInfo[i].yacc;
|
sFlowInfo[i].ydelta &= sFlowInfo[i].yacc;
|
||||||
|
|
||||||
short nSector = sFlowInfo[i].objindex;
|
short nSector = sFlowInfo[i].objindex;
|
||||||
sector[nSector].addfloorxpan(sFlowInfo[i].xdelta / 16384.f);
|
sector[nSector].setfloorxpan(sFlowInfo[i].xdelta / 16384.f);
|
||||||
sector[nSector].addfloorypan(sFlowInfo[i].ydelta / 16384.f);
|
sector[nSector].setfloorypan(sFlowInfo[i].ydelta / 16384.f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -733,8 +733,8 @@ void DoFlows()
|
||||||
{
|
{
|
||||||
short nSector = sFlowInfo[i].objindex;
|
short nSector = sFlowInfo[i].objindex;
|
||||||
|
|
||||||
sector[nSector].addceilingxpan(sFlowInfo[i].xdelta / 16384.f);
|
sector[nSector].setceilingxpan(sFlowInfo[i].xdelta / 16384.f);
|
||||||
sector[nSector].addceilingypan(sFlowInfo[i].ydelta / 16384.f);
|
sector[nSector].setceilingypan(sFlowInfo[i].ydelta / 16384.f);
|
||||||
|
|
||||||
sFlowInfo[i].xdelta &= sFlowInfo[i].xacc;
|
sFlowInfo[i].xdelta &= sFlowInfo[i].xacc;
|
||||||
sFlowInfo[i].ydelta &= sFlowInfo[i].yacc;
|
sFlowInfo[i].ydelta &= sFlowInfo[i].yacc;
|
||||||
|
|
Loading…
Reference in a new issue