this needs be multiplied by 8 lel oops

This commit is contained in:
Alug committed 2025-03-15 18:41:33 +01:00
1 parent 579e7261a3
commit 868f0acb18
1 file changed
+1 -1
+1 -1
View File
@@ -514,7 +514,7 @@ static FUINT HWR_CalcSlopeLight(FUINT lightnum, pslope_t *slope, const sector_t
if (slope != NULL && sector != NULL && P_ApplyLightOffsetFine(lightnum, sector))
{
INT16 offset = (cv_glfakecontrast.value == 2) ? slope->hwLightOffset : (INT16)slope->lightOffset;
INT16 offset = (cv_glfakecontrast.value == 2) ? slope->hwLightOffset : ((INT16)slope->lightOffset * 8);
finallight += (fof ? -offset : offset);
finallight = CLAMP(finallight, 0 , 255);