From 8240894d0751b4b75331fc3314d2774dc37752b6 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Mon, 4 May 2020 09:13:55 +0100 Subject: Add comment for boat position broadcast --- src/Entities/Boat.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Entities/Boat.cpp b/src/Entities/Boat.cpp index 317a5e1d5..1f7963465 100644 --- a/src/Entities/Boat.cpp +++ b/src/Entities/Boat.cpp @@ -42,6 +42,9 @@ void cBoat::SpawnOn(cClientHandle & a_ClientHandle) void cBoat::BroadcastMovementUpdate(const cClientHandle * a_Exclude) { + // Cannot use super::BroadcastMovementUpdate here, broadcasting position when not + // expected by the client breaks things. See https://github.com/cuberite/cuberite/pull/4488 + // Process packet sending every two ticks if (GetWorld()->GetWorldAge() % 2 != 0) { -- cgit v1.2.3