fix NOHW compile

This commit is contained in:
Alug committed 2024-08-17 20:02:09 +02:00
1 parent 5113387134
commit 67df9e0a50
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;
}