From 21b7a26f24fab3e9ce9d72624ad81eb2ad4ba68d Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Sun, 15 Sep 2024 16:19:29 +0800 Subject: [PATCH] Rename `lm_sampledistance` to `lm_sampledist` to match future versions of ZDRay --- src/level/level_light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/level/level_light.cpp b/src/level/level_light.cpp index 7cea8ae..02d8e9a 100644 --- a/src/level/level_light.cpp +++ b/src/level/level_light.cpp @@ -79,7 +79,7 @@ void FLevel::SetupLights() lightcolor = atoi(key.value); printf("Sun color: %d (%X)\n", lightcolor, lightcolor); } - else if (!stricmp(key.key, "lm_sampledistance")) + else if (!stricmp(key.key, "lm_sampledist")) { DefaultSamples = atoi(key.value); if (DefaultSamples < 8) DefaultSamples = 8;