mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Warnings must die
This commit is contained in:
parent
f3aa02e26d
commit
0aaae501d3
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue