Warnings must die

This commit is contained in:
Sryder 2018-03-30 18:53:23 +01:00
parent f3aa02e26d
commit 0aaae501d3
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ static void F_SkyScroll(INT32 scrollspeed)
else if (rendermode != render_none) else if (rendermode != render_none)
{ // if only software rendering could be this simple and retarded { // if only software rendering could be this simple and retarded
INT32 dupz = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy); INT32 dupz = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy);
INT32 x, y, pw = SHORT(pat->width) * dupz, ph = SHORT(pat->height) * dupz; INT32 y, pw = SHORT(pat->width) * dupz, ph = SHORT(pat->height) * dupz;
scrolled = animtimer * dupz; scrolled = animtimer * dupz;
for (x = 0; x < vid.width; x += pw) for (x = 0; x < vid.width; x += pw)
{ {

View file

@ -5055,7 +5055,7 @@ static void HWR_CreateDrawNodes(void)
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#ifdef SORTING #ifdef SORTING
// added the stransform so they can be switched as drawing happenes so MD2s and sprites are sorted correctly with each other // added the stransform so they can be switched as drawing happenes so MD2s and sprites are sorted correctly with each other
static void HWR_DrawSprites() static void HWR_DrawSprites(void)
{ {
if (gr_visspritecount > 0) if (gr_visspritecount > 0)
{ {