Suffix _line to the linedef sample distance UDMF property as its naming is too close to the ZDRayInfo sample distance property

This commit is contained in:
nashmuhandes 2022-06-29 15:04:52 +08:00
parent 18e291c13a
commit 29d38a2969
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ thing // LightProbe (light sampling point for actors)
linedef
{
// Customizable sampling distance per line surface. Will use the value from the ZDRayInfo actor by default.
lm_sampledist = <int> (default: 0)
lm_sampledist_line = <int> (default: 0)
lm_sampledist_top = <int> (default: 0)
lm_sampledist_mid = <int> (default: 0)
lm_sampledist_bot = <int> (default: 0)

View file

@ -400,7 +400,7 @@ void FProcessor::ParseSidedef(IntSideDef *sd)
{
sd->rowoffset = CheckInt(key);
}
else if (stricmp(key, "lm_sampledist") == 0)
else if (stricmp(key, "lm_sampledist_line") == 0)
{
sd->sampleDistance = CheckInt(key);
}