diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:27:30 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:27:30 +0100 |
commit | 574e8f1419e9da7472bcd5b0813cc1d0e33fcf17 (patch) | |
tree | 953da5d656dff592460a47bbf9616f680a36f659 /source | |
parent | Fixed a warning about brackets. (diff) | |
download | cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar.gz cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar.bz2 cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar.lz cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar.xz cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.tar.zst cuberite-574e8f1419e9da7472bcd5b0813cc1d0e33fcf17.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/Generating/MineShafts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/MineShafts.cpp b/source/Generating/MineShafts.cpp index e7884f243..bd8da6515 100644 --- a/source/Generating/MineShafts.cpp +++ b/source/Generating/MineShafts.cpp @@ -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) { |