mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 15:32:54 +00:00
Merge remote-tracking branch 'origin/dancingsprites' into qzdoom
This commit is contained in:
commit
de8260ed8b
1 changed files with 3 additions and 3 deletions
|
@ -260,9 +260,9 @@ void R_DrawMaskedColumn (const BYTE *column, const FTexture::Span *span, bool us
|
||||||
const int top = span->TopOffset;
|
const int top = span->TopOffset;
|
||||||
|
|
||||||
// calculate unclipped screen coordinates for post
|
// calculate unclipped screen coordinates for post
|
||||||
dc_yl = (int)(sprtopscreen + spryscale * top);
|
dc_yl = (int)(sprtopscreen + spryscale * top + 0.5);
|
||||||
dc_yh = (int)(sprtopscreen + spryscale * (top + length)) - 1;
|
dc_yh = (int)(sprtopscreen + spryscale * (top + length) + 0.5) - 1;
|
||||||
|
|
||||||
if (sprflipvert)
|
if (sprflipvert)
|
||||||
{
|
{
|
||||||
swapvalues (dc_yl, dc_yh);
|
swapvalues (dc_yl, dc_yh);
|
||||||
|
|
Loading…
Reference in a new issue