diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 5c3313e9b..341b6cf14 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -518,7 +518,7 @@ void HWR_Lighting(FSurfaceInfo *Surface, INT32 light_level, extracolormap_t *col default_colormap = true; } if (!colormap->gl_lighttable_id) - { + { UINT8 *colormap_pointer; if (default_colormap) @@ -798,7 +798,6 @@ void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, boolean isc if (angle) // Only needs to be done if there's an altered angle { - angle = InvAngle(angle)>>ANGLETOFINESHIFT; // This needs to be done so that it scrolls in a different direction after rotation like software