diff --git a/src/r_things.c b/src/r_things.c index 74edc4550..2b4691bae 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -1163,7 +1163,6 @@ static void R_SkewShadowSprite( fixed_t groundz, INT32 spriteheight, fixed_t scalemul, fixed_t *shadowyscale, fixed_t *shadowskew) { - // haha let's try some dumb stuff fixed_t xslope, zslope; angle_t sloperelang; @@ -1192,7 +1191,7 @@ static void R_SkewShadowSprite( else *shadowyscale -= FixedMul(FixedMul(thing->radius*2 / spriteheight, scalemul), zslope); - *shadowyscale = abs((*shadowyscale)); + *shadowyscale = abs(*shadowyscale); *shadowskew = xslope; } diff --git a/src/screen.c b/src/screen.c index c258439e9..7e891fa35 100644 --- a/src/screen.c +++ b/src/screen.c @@ -49,7 +49,7 @@ void (*basespanfunc)(void); // default span func for color mode void (*transtransfunc)(void); // translucent translated column drawer void (*twosmultipatchfunc)(void); // for cols with transparent pixels void (*twosmultipatchtransfunc)(void); // for cols with transparent pixels AND translucency -void (*dropshadowcolfunc)(void); // for cols with transparent pixels AND translucency +void (*dropshadowcolfunc)(void); // ------------------ // global video state