1
0

Added an explanatory comment

This commit is contained in:
Tiger Wang 2014-02-18 00:29:10 +00:00
parent 7c0d11fbb2
commit 7a23e27fc5

View File

@ -34,6 +34,8 @@ public:
if (Block == E_BLOCK_AIR) if (Block == E_BLOCK_AIR)
{ {
int Dir = 0; int Dir = 0;
// The client uses different values for painting directions and block faces. Our constants are for the block faces, so we convert them here to painting faces
switch (a_Dir) switch (a_Dir)
{ {
case BLOCK_FACE_ZP: break; // Initialised to zero case BLOCK_FACE_ZP: break; // Initialised to zero