From e5b91a8d97f1f4af295b001708f434dda5ced983 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sat, 10 Mar 2012 13:49:40 +0000 Subject: 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 --- source/cChunk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index 85a67b466..9a129ba31 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -240,7 +240,7 @@ public: { #if AXIS_ORDER == AXIS_ORDER_XZY return x + (z * c_ChunkWidth) + (y * c_ChunkWidth * c_ChunkWidth); // 1.2 is XZY - #else if AXIS_ORDER == AXIS_ORDER_YZX + #elif AXIS_ORDER == AXIS_ORDER_YZX return y + (z * c_ChunkHeight) + (x * c_ChunkHeight * c_ChunkWidth); // 1.1 is YZX #endif } @@ -253,7 +253,7 @@ public: index / (c_ChunkWidth * c_ChunkWidth), // Y (index / c_ChunkWidth) % c_ChunkWidth // Z ); - #else if AXIS_ORDER == AXIS_ORDER_YZX + #elif AXIS_ORDER == AXIS_ORDER_YZX return Vector3i( // 1.1 index / (c_ChunkHeight * c_ChunkWidth), // X index % c_ChunkHeight, // Y -- cgit v1.2.3