diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-13 02:08:02 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-13 02:08:02 +0200 |
commit | d529971e279609ae928d9077404b95bd595b5e52 (patch) | |
tree | 34aeac132b9cb73b7b68a1285815c168506e247c /src/Simulator/VaporizeFluidSimulator.cpp | |
parent | Only one instance of server can be started (diff) | |
download | cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar.gz cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar.bz2 cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar.lz cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar.xz cuberite-d529971e279609ae928d9077404b95bd595b5e52.tar.zst cuberite-d529971e279609ae928d9077404b95bd595b5e52.zip |
Diffstat (limited to 'src/Simulator/VaporizeFluidSimulator.cpp')
-rw-r--r-- | src/Simulator/VaporizeFluidSimulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/VaporizeFluidSimulator.cpp b/src/Simulator/VaporizeFluidSimulator.cpp index 4206c64d1..191770273 100644 --- a/src/Simulator/VaporizeFluidSimulator.cpp +++ b/src/Simulator/VaporizeFluidSimulator.cpp @@ -35,7 +35,7 @@ void cVaporizeFluidSimulator::AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, ) { a_Chunk->SetBlock(RelX, a_BlockY, RelZ, E_BLOCK_AIR, 0); - a_Chunk->BroadcastSoundEffect("random.fizz", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 1.0f, 0.6f); + a_Chunk->BroadcastSoundEffect("random.fizz", (double)a_BlockX, (double)a_BlockY, (double)a_BlockZ, 1.0f, 0.6f); } } |