diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-19 13:49:01 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-19 13:49:01 +0200 |
commit | 34fa53ca3a78fc32003c85256eeb623f96bc663f (patch) | |
tree | 56f0e623b3275da0b55d76bc775ec29f5dbfdf1a /source/Simulator | |
parent | WebAdmin: The plugin list is sorted alphabetically and if they are enabled or disabled. (diff) | |
download | cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar.gz cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar.bz2 cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar.lz cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar.xz cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.tar.zst cuberite-34fa53ca3a78fc32003c85256eeb623f96bc663f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Simulator/SandSimulator.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Simulator/SandSimulator.cpp b/source/Simulator/SandSimulator.cpp index bed95029e..6ba33a9c1 100644 --- a/source/Simulator/SandSimulator.cpp +++ b/source/Simulator/SandSimulator.cpp @@ -53,6 +53,12 @@ void cSandSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChun Pos.x = itr->x + BaseX; Pos.y = itr->y; Pos.z = itr->z + BaseZ; + /* + LOGD( + "Creating a falling block at {%d, %d, %d} of type %s, block below: %s", + Pos.x, Pos.y, Pos.z, ItemTypeToString(BlockType).c_str(), ItemTypeToString(BlockBelow).c_str() + ); + */ cFallingBlock * FallingBlock = new cFallingBlock(Pos, BlockType, a_Chunk->GetMeta(itr->x, itr->y, itr->z)); FallingBlock->Initialize(&m_World); a_Chunk->SetBlock(itr->x, itr->y, itr->z, E_BLOCK_AIR, 0); |