summaryrefslogtreecommitdiffstats
path: root/src/Simulator/VaporizeFluidSimulator.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Simulator/VaporizeFluidSimulator.cpp
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Simulator/VaporizeFluidSimulator.cpp')
-rw-r--r--src/Simulator/VaporizeFluidSimulator.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Simulator/VaporizeFluidSimulator.cpp b/src/Simulator/VaporizeFluidSimulator.cpp
index a0939ebca..b4d5707ee 100644
--- a/src/Simulator/VaporizeFluidSimulator.cpp
+++ b/src/Simulator/VaporizeFluidSimulator.cpp
@@ -14,7 +14,12 @@
-void cVaporizeFluidSimulator::SimulateChunk(std::chrono::milliseconds a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk)
+void cVaporizeFluidSimulator::SimulateChunk(
+ std::chrono::milliseconds a_Dt,
+ int a_ChunkX,
+ int a_ChunkZ,
+ cChunk * a_Chunk
+)
{
// Nothing needed
@@ -33,11 +38,7 @@ void cVaporizeFluidSimulator::AddBlock(cChunk & a_Chunk, Vector3i a_Position, BL
if ((a_Block == m_FluidBlock) || (a_Block == m_StationaryFluidBlock))
{
a_Chunk.FastSetBlock(a_Position, E_BLOCK_AIR, 0);
- World::GetBroadcastInterface(m_World).BroadcastSoundEffect(
- "block.fire.extinguish",
- Vector3d(a_Position),
- 1.0f,
- 0.6f
- );
+ World::GetBroadcastInterface(m_World)
+ .BroadcastSoundEffect("block.fire.extinguish", Vector3d(a_Position), 1.0f, 0.6f);
}
}