diff --git a/src/v_draw.cpp b/src/v_draw.cpp index dccbfdc936..c7b62b0a66 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -204,8 +204,7 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms) // There is not enough precision in the drawing routines to keep the full // precision for y0. :( - double dummy; - sprtopscreen = modf(y0, &dummy); + modf(y0, &sprtopscreen); double yscale = parms.destheight / img->GetHeight(); double iyscale = 1 / yscale;