summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BedEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/BedEntity.cpp')
-rw-r--r--src/BlockEntities/BedEntity.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/BlockEntities/BedEntity.cpp b/src/BlockEntities/BedEntity.cpp
index 7f5f90639..9f8e3b658 100644
--- a/src/BlockEntities/BedEntity.cpp
+++ b/src/BlockEntities/BedEntity.cpp
@@ -13,9 +13,8 @@
-cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color):
- Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
- m_Color(a_Color)
+cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color) :
+ Super(a_BlockType, a_BlockMeta, a_Pos, a_World), m_Color(a_Color)
{
ASSERT(a_BlockType == E_BLOCK_BED);
}