Fixed unsigned integer comparison.
parent
5337fee8e0
commit
574e8f1419
|
@ -1034,7 +1034,7 @@ void cMineShaftCrossing::AppendBranches(int a_RecursionLevel, cNoise & a_Noise)
|
|||
{ 5, 5, 2, dirXP},
|
||||
{ 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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue