summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BannerEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/BannerEntity.cpp')
-rw-r--r--src/BlockEntities/BannerEntity.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/BlockEntities/BannerEntity.cpp b/src/BlockEntities/BannerEntity.cpp
index 10f185bfd..a2aa99c49 100644
--- a/src/BlockEntities/BannerEntity.cpp
+++ b/src/BlockEntities/BannerEntity.cpp
@@ -13,10 +13,15 @@
-cBannerEntity::cBannerEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, unsigned char a_BaseColor, AString a_CustomName):
- Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
- m_BaseColor(a_BaseColor),
- m_CustomName(std::move(a_CustomName))
+cBannerEntity::cBannerEntity(
+ BLOCKTYPE a_BlockType,
+ NIBBLETYPE a_BlockMeta,
+ Vector3i a_Pos,
+ cWorld * a_World,
+ unsigned char a_BaseColor,
+ AString a_CustomName
+) :
+ Super(a_BlockType, a_BlockMeta, a_Pos, a_World), m_BaseColor(a_BaseColor), m_CustomName(std::move(a_CustomName))
{
ASSERT((a_BlockType == E_BLOCK_WALL_BANNER) || (a_BlockType == E_BLOCK_STANDING_BANNER));
}