Skip to content

Commit

Permalink
fix up and down being flipped
Browse files Browse the repository at this point in the history
  • Loading branch information
treacherousfiend committed Jun 14, 2022
1 parent 5c60a49 commit e17e5e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LightmapUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,11 @@ void readFaces()
case 2:
if (curPlane.normalZ < 0)
{
direction = "up";
direction = "down";
}
else
{
direction = "down";
direction = "up";
}
case 3:
if (curPlane.normalX < 0)
Expand All @@ -383,11 +383,11 @@ void readFaces()
case 5:
if (curPlane.normalZ < 0)
{
direction = "mostly up";
direction = "mostly down";
}
else
{
direction = "mostly down";
direction = "mostly up";
}
}
}
Expand Down

0 comments on commit e17e5e7

Please sign in to comment.