1
0

Was using "#else if" which is not valid apparently, now using "#elif"

git-svn-id: http://mc-server.googlecode.com/svn/trunk@391 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth
2012-03-10 13:49:40 +00:00
parent 68f3ea56bd
commit e5b91a8d97
4 changed files with 6 additions and 6 deletions

View File

@@ -541,7 +541,7 @@ void cChunk::Tick(float a_Dt, MTRand & a_TickRandom)
{
#if AXIS_ORDER == AXIS_ORDER_YZX
char AboveBlock = GetBlock( Index+1 );
#else if AXIS_ORDER == AXIS_ORDER_XZY
#elif AXIS_ORDER == AXIS_ORDER_XZY
char AboveBlock = GetBlock( Index + (c_ChunkWidth*c_ChunkWidth) );
#endif
if (!( (AboveBlock == 0) || (g_BlockOneHitDig[AboveBlock]) || (g_BlockTransparent[AboveBlock]) ) ) //changed to not allow grass if any one hit object is on top