Added an explanatory comment

master
Tiger Wang 2014-02-18 00:29:10 +00:00
parent 7c0d11fbb2
commit 7a23e27fc5
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ public:
if (Block == E_BLOCK_AIR)
{
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)
{
case BLOCK_FACE_ZP: break; // Initialised to zero