summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-28 13:29:26 +0200
committertycho <work.tycho@gmail.com>2015-05-28 13:54:04 +0200
commitb2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0 (patch)
treeff9846d0ffa558e237ea148762f67b5ebf71a47d /src/UI
parentMerge branch 'master' into PreventNewWarnings (diff)
downloadcuberite-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/UI/EnderChestWindow.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/UI/EnderChestWindow.cpp b/src/UI/EnderChestWindow.cpp
index 9a4918aa4..c597f3a9b 100644
--- a/src/UI/EnderChestWindow.cpp
+++ b/src/UI/EnderChestWindow.cpp
@@ -29,7 +29,9 @@ cEnderChestWindow::cEnderChestWindow(cEnderChestEntity * a_EnderChest) :
static_cast<double>(m_BlockX),
static_cast<double>(m_BlockY),
static_cast<double>(m_BlockZ),
- 1, 1);
+ 1,
+ 1
+ );
// Send out the chest-open packet:
m_World->BroadcastBlockAction(m_BlockX, m_BlockY, m_BlockZ, 1, 1, E_BLOCK_ENDER_CHEST);
@@ -46,11 +48,12 @@ cEnderChestWindow::~cEnderChestWindow()
// Play the closing sound
m_World->BroadcastSoundEffect(
- "random.chestclosed",
- static_cast<double>(m_BlockX),
- static_cast<double>(m_BlockY),
- static_cast<double>(m_BlockZ),
- 1, 1);
+ "random.chestclosed",
+ static_cast<double>(m_BlockX),
+ static_cast<double>(m_BlockY),
+ static_cast<double>(m_BlockZ),
+ 1, 1
+ );
}