mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-10 06:41:37 +00:00
Change the sunlight DoomEdNum to 9890, to prevent clash with PointLightStatic
This commit is contained in:
parent
2f7b97854a
commit
6fa8bf706e
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ thing // LightProbe (light sampling point for actors)
|
|||
|
||||
thing // Sunlight (sunlight properties for the map)
|
||||
{
|
||||
type = 9876;
|
||||
type = 9890;
|
||||
suncolor = <int> (color)
|
||||
sundirx = <float> (X direction for the sun)
|
||||
sundiry = <float> (Y direction for the sun)
|
||||
|
|
|
@ -91,7 +91,7 @@ void FLevel::SetupLights()
|
|||
{
|
||||
ThingLightProbes.Push(i);
|
||||
}
|
||||
else if (thing->type == 9876) // Sunlight
|
||||
else if (thing->type == 9890) // Sunlight
|
||||
{
|
||||
uint32_t lightcolor = 0xffffff;
|
||||
Vec3 sundir(0.0f, 0.0f, 0.0f);
|
||||
|
|
Loading…
Reference in a new issue