summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-28 01:13:07 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-02 16:52:06 +0200
commit6c47f46c31813836efa5af199766aff23fed9dd3 (patch)
tree9addb1d1615895079388d1e405c5358fe182b1e3 /src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h
parentReplaced cpp14::make_unique<> with std::make_unique<>. (diff)
downloadcuberite-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/RedstoneRepeaterHandler.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h
index 4174ac930..711d1762d 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h
@@ -63,7 +63,8 @@ public:
// FastSetBlock doesn't wake simulators, so manually update ourselves:
Update(a_Chunk, CurrentlyTicking, a_Position, NewType, a_Meta, a_PoweringData);
- UpdateAdjustedRelatives(a_Chunk, CurrentlyTicking, a_Position + cBlockRedstoneRepeaterHandler::GetFrontCoordinateOffset(a_Meta));
+ UpdateAdjustedRelative(a_Chunk, CurrentlyTicking, a_Position + cBlockRedstoneRepeaterHandler::GetFrontCoordinateOffset(a_Meta));
+ UpdateAdjustedRelatives(a_Chunk, CurrentlyTicking, a_Position + cBlockRedstoneRepeaterHandler::GetFrontCoordinateOffset(a_Meta), RelativeAdjacents);
}
}
}