summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 22:40:02 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 22:40:02 +0100
commitb0784d1931b4a6771321a0c3b33af537200bf084 (patch)
treeac217cbe473660e86010caf2512edf46670ca9b9 /src/Simulator
parentAnother Linux fix (diff)
downloadcuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar.gz
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar.bz2
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar.lz
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar.xz
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.tar.zst
cuberite-b0784d1931b4a6771321a0c3b33af537200bf084.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/RedstoneSimulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index 357643ecc..131380daa 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -169,7 +169,7 @@ void cRedstoneSimulator::AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChu
{
if (!IsAllowedBlock(Block))
{
- itr->SecondData = true; // The new blocktype is not redstone; it must be queued to be removed from this list
+ itr->DataTwo = true; // The new blocktype is not redstone; it must be queued to be removed from this list
}
else
{
@@ -209,7 +209,7 @@ void cRedstoneSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, c
for (cRedstoneSimulatorChunkData::iterator dataitr = ChunkData.begin(); dataitr != ChunkData.end();)
{
- if (dataitr->SecondData)
+ if (dataitr->DataTwo)
{
dataitr = ChunkData.erase(dataitr);
continue;