diff options
author | tycho <tycho@hanoverdesktop> | 2014-09-26 18:00:34 +0200 |
---|---|---|
committer | tycho <tycho@hanoverdesktop> | 2014-09-26 18:00:34 +0200 |
commit | ad5d0eda9c35a7f4a00e11743f545d057d188a8c (patch) | |
tree | 61d228ac8fb2bf00635726026bbddc1cb265a5c7 /src/Chunk.h | |
parent | Merge pull request #1419 from mc-server/redstoneTests (diff) | |
download | cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.gz cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.bz2 cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.lz cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.xz cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.tar.zst cuberite-ad5d0eda9c35a7f4a00e11743f545d057d188a8c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index a3de730dc..7a2e75685 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -416,7 +416,7 @@ public: cFluidSimulatorData * GetLavaSimulatorData (void) { return m_LavaSimulatorData; } cSandSimulatorChunkData & GetSandSimulatorData (void) { return m_SandSimulatorData; } - cRedstoneSimulatorChunkData * GetRedstoneSimulatorData(void) { return &m_RedstoneSimulatorData; } + cRedstoneSimulatorChunkData * GetRedstoneSimulatorData(void) { return m_RedstoneSimulatorData; } bool IsRedstoneDirty(void) const { return m_IsRedstoneDirty; } void SetIsRedstoneDirty(bool a_Flag) { m_IsRedstoneDirty = a_Flag; } @@ -501,7 +501,7 @@ private: cFluidSimulatorData * m_LavaSimulatorData; cSandSimulatorChunkData m_SandSimulatorData; - cRedstoneSimulatorChunkData m_RedstoneSimulatorData; + cRedstoneSimulatorChunkData * m_RedstoneSimulatorData; /** Indicates if simulate-once blocks should be updated by the redstone simulator */ |