Skip to content

Commit

Permalink
Use light_ prefix for soft shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
nashmuhandes committed Oct 6, 2024
1 parent 58ddcd4 commit 4bb61be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/maploader/udmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/namedef_custom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4bb61be

Please sign in to comment.