From 4bb61bed9748b13103fcc43b0f7e12bcc2aa6645 Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Sun, 6 Oct 2024 22:20:05 +0800 Subject: [PATCH] Use `light_` prefix for soft shadows --- src/maploader/udmf.cpp | 2 +- src/namedef_custom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maploader/udmf.cpp b/src/maploader/udmf.cpp index 1820270d3..7ff310d28 100644 --- a/src/maploader/udmf.cpp +++ b/src/maploader/udmf.cpp @@ -792,7 +792,7 @@ class UDMFParser : public UDMFParserBase th->friendlyseeblocks = CheckInt(key); break; - case NAME_SoftShadowRadius: + case NAME_light_softshadowradius: th->SoftShadowRadius = (float)CheckFloat(key); break; diff --git a/src/namedef_custom.h b/src/namedef_custom.h index 7f7684d3d..6f2338009 100644 --- a/src/namedef_custom.h +++ b/src/namedef_custom.h @@ -868,7 +868,7 @@ xx(lm_dynamic) xx(lm_suncolor) // Light keywords -xx(SoftShadowRadius) +xx(light_softshadowradius) xx(skew_bottom_type) xx(skew_middle_type)