diff options
author | tycho <work.tycho@gmail.com> | 2015-05-28 13:29:26 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-28 13:54:04 +0200 |
commit | b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0 (patch) | |
tree | ff9846d0ffa558e237ea148762f67b5ebf71a47d /src/Simulator/SandSimulator.cpp | |
parent | Merge branch 'master' into PreventNewWarnings (diff) | |
download | cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.gz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.bz2 cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.lz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.xz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.zst cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/SandSimulator.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Simulator/SandSimulator.cpp b/src/Simulator/SandSimulator.cpp index e11bc714a..70dde8cc0 100644 --- a/src/Simulator/SandSimulator.cpp +++ b/src/Simulator/SandSimulator.cpp @@ -267,10 +267,11 @@ void cSandSimulator::FinishFalling( cItems Pickups; Pickups.Add(static_cast<ENUM_ITEM_ID>(a_FallingBlockType), 1, a_FallingBlockMeta); a_World->SpawnItemPickups( - Pickups, - static_cast<double>(a_BlockX) + 0.5, - static_cast<double>(a_BlockY) + 0.5, - static_cast<double>(a_BlockZ) + 0.5); + Pickups, + static_cast<double>(a_BlockX) + 0.5, + static_cast<double>(a_BlockY) + 0.5, + static_cast<double>(a_BlockZ) + 0.5 + ); } |