Remove halfviewwidth
- Why I thought I needed this variable in addition to centerx has long ago left my memory.
This commit is contained in:
parent
31d842a894
commit
44adff459a
4 changed files with 1 additions and 4 deletions
|
|
@ -1525,7 +1525,7 @@ void R_DrawNormalPlane (visplane_t *pl, double _xscale, double _yscale, fixed_t
|
|||
ystepscale = (DWORD)(-(SDWORD)ystepscale);
|
||||
}
|
||||
|
||||
int x = pl->right - halfviewwidth - 1;
|
||||
int x = pl->right - centerx;
|
||||
planeang += 90;
|
||||
basexfrac = xs_RoundToInt(xscale * planeang.Cos()) + x*xstepscale;
|
||||
baseyfrac = xs_RoundToInt(yscale * -planeang.Sin()) + x*ystepscale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue