mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom into gzdoom
This commit is contained in:
commit
5b60a29d35
2 changed files with 2 additions and 2 deletions
|
@ -747,7 +747,7 @@ bool GLWall::PrepareLight(ADynamicLight * light, int pass)
|
|||
float scale;
|
||||
|
||||
auto normal = glseg.Normal();
|
||||
p.Set(normal, -normal.X * glseg.x1 - normal.Y * glseg.y1);
|
||||
p.Set(normal, -normal.X * glseg.x1 - normal.Z * glseg.y1);
|
||||
|
||||
if (!p.ValidNormal())
|
||||
{
|
||||
|
|
|
@ -73,7 +73,7 @@ void GLWall::SetupLights()
|
|||
lightdata.Clear();
|
||||
|
||||
auto normal = glseg.Normal();
|
||||
p.Set(normal, -normal.X * glseg.x1 - normal.Y * glseg.y1);
|
||||
p.Set(normal, -normal.X * glseg.x1 - normal.Z * glseg.y1);
|
||||
|
||||
FLightNode *node;
|
||||
if (seg->sidedef == NULL)
|
||||
|
|
Loading…
Reference in a new issue