summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-14 22:21:03 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-14 22:21:03 +0100
commitb974b1ea59efac4a14a929b917df152d06487201 (patch)
treee23c97a10cfde99c7ddcaa0960e459d8e9caaf16 /source/cChunkMap.cpp
parentAdded the new ChunkDef.h into VC2010 project (diff)
downloadcuberite-b974b1ea59efac4a14a929b917df152d06487201.tar
cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.gz
cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.bz2
cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.lz
cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.xz
cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.zst
cuberite-b974b1ea59efac4a14a929b917df152d06487201.zip
Diffstat (limited to '')
-rw-r--r--source/cChunkMap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp
index 02ea0917e..97f6a659f 100644
--- a/source/cChunkMap.cpp
+++ b/source/cChunkMap.cpp
@@ -521,7 +521,7 @@ void cChunkMap::CollectPickupsByPlayer(cPlayer * a_Player)
-char cChunkMap::GetBlock(int a_X, int a_Y, int a_Z)
+BLOCKTYPE cChunkMap::GetBlock(int a_X, int a_Y, int a_Z)
{
int ChunkX, ChunkZ;
cChunkDef::AbsoluteToRelative( a_X, a_Y, a_Z, ChunkX, ChunkZ );
@@ -539,7 +539,7 @@ char cChunkMap::GetBlock(int a_X, int a_Y, int a_Z)
-char cChunkMap::GetBlockMeta(int a_X, int a_Y, int a_Z)
+BLOCKTYPE cChunkMap::GetBlockMeta(int a_X, int a_Y, int a_Z)
{
int ChunkX, ChunkZ;
cChunkDef::AbsoluteToRelative( a_X, a_Y, a_Z, ChunkX, ChunkZ );
@@ -557,7 +557,7 @@ char cChunkMap::GetBlockMeta(int a_X, int a_Y, int a_Z)
-void cChunkMap::SetBlockMeta(int a_X, int a_Y, int a_Z, char a_BlockMeta)
+void cChunkMap::SetBlockMeta(int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockMeta)
{
int ChunkX, ChunkZ;
cChunkDef::AbsoluteToRelative( a_X, a_Y, a_Z, ChunkX, ChunkZ );
@@ -576,7 +576,7 @@ void cChunkMap::SetBlockMeta(int a_X, int a_Y, int a_Z, char a_BlockMeta)
-void cChunkMap::SetBlock(int a_X, int a_Y, int a_Z, char a_BlockType, char a_BlockMeta)
+void cChunkMap::SetBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta)
{
int ChunkX, ChunkZ, X = a_X, Y = a_Y, Z = a_Z;
cChunkDef::AbsoluteToRelative( X, Y, Z, ChunkX, ChunkZ );