fix NOHW compile

This commit is contained in:
Alug committed 2024-08-19 11:59:29 +02:00
1 parent fe7677c5c8
commit d5388e8dad
1 file changed
+5 -1
+5 -1
View File
@@ -40,7 +40,11 @@ static void P_UpdateSlopeLightOffset(pslope_t *slope)
if (slope->normal.z == 0)
{
slope->lightOffset = slope->hwLightOffset = 0;
slope->lightOffset = 0;
#ifdef HWRENDER
slope->hwLightOffset = 0;
#endif
return;
}