mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 20:40:39 +00:00
Polymer: fix regression with Y-flipping bit.
git-svn-id: https://svn.eduke32.com/eduke32@5297 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e237dbafea
commit
ea2cabb8b3
1 changed files with 1 additions and 1 deletions
|
@ -3207,7 +3207,7 @@ static void polymer_updatewall(int16_t wallnum)
|
|||
w->wall.buffer[i].u = ((dist * 8.0f * wal->xrepeat) + wal->xpanning) / (float)(tilesiz[curpicnum].x);
|
||||
w->wall.buffer[i].v = (-(float)(yref + (w->wall.buffer[i].y * 16)) / ((tilesiz[curpicnum].y * 2048.0f) / (float)(wal->yrepeat))) + ypancoef;
|
||||
|
||||
if (wal->cstat & 256) w->wall.buffer[i].u = -w->wall.buffer[i].v;
|
||||
if (wal->cstat & 256) w->wall.buffer[i].v = -w->wall.buffer[i].v;
|
||||
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue