mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix flow texture panning
This commit is contained in:
parent
c970aebb54
commit
eb456e0dda
1 changed files with 4 additions and 4 deletions
|
@ -589,8 +589,8 @@ void AddFlow(int nSprite, int a, int b)
|
|||
|
||||
sFlowInfo[nFlow].field_14 = (tilesiz[nPic].x << 14) - 1;
|
||||
sFlowInfo[nFlow].field_18 = (tilesiz[nPic].y << 14) - 1;
|
||||
sFlowInfo[nFlow].field_C = (-Sin(nAngle + 512)) * a;
|
||||
sFlowInfo[nFlow].field_10 = (-Sin(nAngle)) * a;
|
||||
sFlowInfo[nFlow].field_C = -Cos(nAngle) * a;
|
||||
sFlowInfo[nFlow].field_10 = Sin(nAngle) * a;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -608,8 +608,8 @@ void AddFlow(int nSprite, int a, int b)
|
|||
|
||||
sFlowInfo[nFlow].field_14 = (tilesiz[nPic].x * wall[var_18].xrepeat) << 8;
|
||||
sFlowInfo[nFlow].field_18 = (tilesiz[nPic].y * wall[var_18].yrepeat) << 8;
|
||||
sFlowInfo[nFlow].field_C = (-Sin(nAngle + 512)) * a;
|
||||
sFlowInfo[nFlow].field_10 = (-Sin(nAngle)) * a;
|
||||
sFlowInfo[nFlow].field_C = -Cos(nAngle) * a;
|
||||
sFlowInfo[nFlow].field_10 = Sin(nAngle) * a;
|
||||
}
|
||||
|
||||
sFlowInfo[nFlow].field_8 = 0;
|
||||
|
|
Loading…
Reference in a new issue