Merge pull request #1263 from Howaner/GlobalFixes
Fixed compile error with clang.
This commit is contained in:
commit
cb9408a52d
@ -163,7 +163,7 @@ public:
|
|||||||
m_Amount(a_Amount)
|
m_Amount(a_Amount)
|
||||||
{
|
{
|
||||||
// Initialize all the block types.
|
// Initialize all the block types.
|
||||||
for (int idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx)
|
for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx)
|
||||||
{
|
{
|
||||||
m_IsAllowedBelow[idx] = false;
|
m_IsAllowedBelow[idx] = false;
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Initialize all the biome types.
|
// Initialize all the biome types.
|
||||||
for (int idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
|
for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
|
||||||
{
|
{
|
||||||
m_IsBiomeAllowed[idx] = false;
|
m_IsBiomeAllowed[idx] = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user