summaryrefslogtreecommitdiffstats
path: root/src/Simulator/VaporizeFluidSimulator.cpp
diff options
context:
space:
mode:
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);
}
}