From cdd8e425872b94878babf7823cd12381d2db1a5c Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 27 Jul 2018 00:12:41 +0100 Subject: cWorld: Manually bind deprecated broadcast functions (#4265) Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 --- src/Simulator/IncrementalRedstoneSimulator/DoorHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Simulator/IncrementalRedstoneSimulator') diff --git a/src/Simulator/IncrementalRedstoneSimulator/DoorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/DoorHandler.h index b41f61941..e1a884337 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/DoorHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/DoorHandler.h @@ -41,7 +41,7 @@ public: { cChunkInterface ChunkInterface(a_World.GetChunkMap()); cBlockDoorHandler::SetOpen(ChunkInterface, a_Position.x, a_Position.y, a_Position.z, (a_PoweringData.PowerLevel != 0)); - a_World.BroadcastSoundParticleEffect(EffectID::SFX_RANDOM_WOODEN_DOOR_OPEN, a_Position.x, a_Position.y, a_Position.z, 0); + a_World.BroadcastSoundParticleEffect(EffectID::SFX_RANDOM_WOODEN_DOOR_OPEN, a_Position, 0); } return {}; -- cgit v1.2.3