From f671018700e1e71ad2dda9ccdbf3fe62bb9efb49 Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Sun, 21 Jul 2024 00:26:58 +0800 Subject: [PATCH] Clean up lightmap stuff in the namedef --- src/maploader/udmf.cpp | 4 ++-- src/namedef_custom.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/maploader/udmf.cpp b/src/maploader/udmf.cpp index db34030de..725b95b91 100644 --- a/src/maploader/udmf.cpp +++ b/src/maploader/udmf.cpp @@ -1166,7 +1166,7 @@ public: ld->healthgroup = CheckInt(key); break; - case NAME_lm_sampledist_line: + case NAME_lm_sampledist: case NAME_lm_sampledist_top: case NAME_lm_sampledist_mid: case NAME_lm_sampledist_bot: @@ -1516,7 +1516,7 @@ public: sd->Flags |= WALLF_EXTCOLOR; break; - case NAME_lm_sampledist_line: + case NAME_lm_sampledist: case NAME_lm_sampledist_top: case NAME_lm_sampledist_mid: case NAME_lm_sampledist_bot: diff --git a/src/namedef_custom.h b/src/namedef_custom.h index 61bf9d261..59752245b 100644 --- a/src/namedef_custom.h +++ b/src/namedef_custom.h @@ -854,7 +854,7 @@ xx(Sky) xx(Pagename) // Lightmap/ZDRay keywords -xx(lm_sampledist_line) +xx(lm_sampledist) xx(lm_sampledist_top) xx(lm_sampledist_mid) xx(lm_sampledist_bot) @@ -862,7 +862,6 @@ xx(lm_sampledist_floor) xx(lm_sampledist_ceiling) xx(lm_dynamic) xx(lm_suncolor) -xx(lm_sampledist) // Light keywords xx(SoftShadowRadius)