summaryrefslogtreecommitdiffstats
path: root/src/Blocks/ChunkInterface.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-01 14:06:32 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-01 14:06:32 +0100
commitc6304b2b4faf31c2e4a91a07bcac298467898dba (patch)
treefbb8ef9920403a02d26215492444a0b6045fa247 /src/Blocks/ChunkInterface.h
parentMerge branch 'master' into GeneratingBenchmark2 (diff)
downloadcuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.gz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.bz2
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.lz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.xz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.zst
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/ChunkInterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/ChunkInterface.h b/src/Blocks/ChunkInterface.h
index b0faf5b05..cca5bf913 100644
--- a/src/Blocks/ChunkInterface.h
+++ b/src/Blocks/ChunkInterface.h
@@ -30,7 +30,7 @@ public:
/** Sets the block at the specified coords to the specified value.
Full processing, incl. updating neighbors, is performed.
*/
- void SetBlock(cWorldInterface * a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
+ void SetBlock(cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
{
m_ChunkMap->SetBlock(a_WorldInterface, a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta);
}
@@ -39,9 +39,9 @@ public:
m_ChunkMap->SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, a_MetaData);
}
- void QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_TickDelay, BLOCKTYPE a_PreviousBlockType, cWorldInterface * a_WorldInterface)
+ void QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_TickDelay, BLOCKTYPE a_PreviousBlockType, cWorldInterface & a_WorldInterface)
{
- m_ChunkMap->QueueSetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_WorldInterface->GetWorldAge() + a_TickDelay, a_PreviousBlockType);
+ m_ChunkMap->QueueSetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_WorldInterface.GetWorldAge() + a_TickDelay, a_PreviousBlockType);
}
/** Sets the block at the specified coords to the specified value.