Fixed unsigned integer comparison.

master
Alexander Harkness 2013-11-16 18:27:30 +00:00
parent 5337fee8e0
commit 574e8f1419
1 changed files with 1 additions and 1 deletions

View File

@ -1034,7 +1034,7 @@ void cMineShaftCrossing::AppendBranches(int a_RecursionLevel, cNoise & a_Noise)
{ 5, 5, 2, dirXP}, { 5, 5, 2, dirXP},
{ 2, 5, 5, dirZP}, { 2, 5, 5, dirZP},
} ; } ;
for (int i = 0; i < ARRAYCOUNT(Exits); i++) for (unsigned int i = 0; i < ARRAYCOUNT(Exits); i++)
{ {
if (m_BoundingBox.p1.y + Exits[i].y >= m_BoundingBox.p2.y) if (m_BoundingBox.p1.y + Exits[i].y >= m_BoundingBox.p2.y)
{ {