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/RedstoneComparatorHandler.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/RedstoneComparatorHandler.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h index b0dad2026..4ccb6838e 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h @@ -129,7 +129,7 @@ public: Data.m_MechanismDelays.erase(a_Position); // Assume that an update (to front power) is needed: - UpdateAdjustedRelatives(a_Chunk, CurrentlyTicking, cBlockComparatorHandler::GetFrontCoordinate(a_Position, a_Meta & 0x3)); + UpdateAdjustedRelative(a_Chunk, CurrentlyTicking, cBlockComparatorHandler::GetFrontCoordinate(a_Position, a_Meta & 0x3)); } } } |