diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-28 01:13:07 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-02 16:52:06 +0200 |
commit | 6c47f46c31813836efa5af199766aff23fed9dd3 (patch) | |
tree | 9addb1d1615895079388d1e405c5358fe182b1e3 /src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h | |
parent | Replaced cpp14::make_unique<> with std::make_unique<>. (diff) | |
download | cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar.gz cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar.bz2 cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar.lz cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar.xz cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.tar.zst cuberite-6c47f46c31813836efa5af199766aff23fed9dd3.zip |
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h b/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h index a3c055844..211e3c64a 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/ObserverHandler.h @@ -87,7 +87,7 @@ public: a_Chunk.SetMeta(a_Position, a_Meta & ~0x8); } - UpdateAdjustedRelatives(a_Chunk, CurrentlyTicking, a_Position + cBlockObserverHandler::GetSignalOutputOffset(a_Meta)); + UpdateAdjustedRelative(a_Chunk, CurrentlyTicking, a_Position + cBlockObserverHandler::GetSignalOutputOffset(a_Meta)); } virtual void ForValidSourcePositions(cChunk & a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, SourceCallback Callback) const override |