summaryrefslogtreecommitdiffstats
path: root/src/Entities/ItemFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/ItemFrame.cpp')
-rw-r--r--src/Entities/ItemFrame.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Entities/ItemFrame.cpp b/src/Entities/ItemFrame.cpp
index 90d3bb049..18993e43b 100644
--- a/src/Entities/ItemFrame.cpp
+++ b/src/Entities/ItemFrame.cpp
@@ -10,10 +10,8 @@
-cItemFrame::cItemFrame(eBlockFace a_BlockFace, Vector3d a_Pos):
- Super(etItemFrame, a_BlockFace, a_Pos),
- m_Item(E_BLOCK_AIR),
- m_ItemRotation(0)
+cItemFrame::cItemFrame(eBlockFace a_BlockFace, Vector3d a_Pos) :
+ Super(etItemFrame, a_BlockFace, a_Pos), m_Item(E_BLOCK_AIR), m_ItemRotation(0)
{
}
@@ -95,7 +93,7 @@ void cItemFrame::OnRightClicked(cPlayer & a_Player)
}
GetWorld()->BroadcastEntityMetadata(*this); // Update clients
- GetParentChunk()->MarkDirty(); // Mark chunk dirty to save rotation or item
+ GetParentChunk()->MarkDirty(); // Mark chunk dirty to save rotation or item
}