diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-12 17:59:10 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-12 17:59:10 +0100 |
commit | 3caa4a38b9a60afdda0e76cfb267c49ffac1063c (patch) | |
tree | 89bd29d89d6892a94137ebf4829dfe6a4ae3c450 /src/Generating | |
parent | Fixed comments an assert (diff) | |
parent | Fixed missing comment terminator. (diff) | |
download | cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar.gz cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar.bz2 cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar.lz cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar.xz cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.tar.zst cuberite-3caa4a38b9a60afdda0e76cfb267c49ffac1063c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/PieceGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/PieceGenerator.cpp b/src/Generating/PieceGenerator.cpp index 8fcc14389..50bfe65fe 100644 --- a/src/Generating/PieceGenerator.cpp +++ b/src/Generating/PieceGenerator.cpp @@ -376,8 +376,8 @@ bool cPieceGenerator::TryPlacePieceAtConnector( // You need DirectionRotationTable[rot1][rot2] CCW turns to connect rot1 to rot2 (they are opposite) static const int DirectionRotationTable[6][6] = { - /* YM, YP, ZM, ZP, XM, XP - YM */ { 0, 0, 0, 0, 0, 0}, + /* YM, YP, ZM, ZP, XM, XP */ + /* YM */ { 0, 0, 0, 0, 0, 0}, /* YP */ { 0, 0, 0, 0, 0, 0}, /* ZM */ { 0, 0, 2, 0, 1, 3}, /* ZP */ { 0, 0, 0, 2, 3, 1}, |