diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-09-26 19:14:22 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-09-26 19:14:22 +0200 |
commit | 0e141923bb05af8b134be30b4da544df5d76a0e1 (patch) | |
tree | 9f48ea17aad861fa1a3ecb828d3b026f237da461 /src/Chunk.h | |
parent | Removed more unessicary includes (diff) | |
parent | Fixed issue with casting (diff) | |
download | cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar.gz cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar.bz2 cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar.lz cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar.xz cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.tar.zst cuberite-0e141923bb05af8b134be30b4da544df5d76a0e1.zip |
Diffstat (limited to 'src/Chunk.h')
-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 1d62ff73f..b525fbb82 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -420,7 +420,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; } @@ -505,7 +505,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 */ |