Using Super.
This commit is contained in:
committed by
Alexander Harkness
parent
f931590bf0
commit
9ee47e5999
@@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
cFlowerPotEntity::cFlowerPotEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
|
||||
super(a_BlockType, a_BlockMeta, a_Pos, a_World)
|
||||
Super(a_BlockType, a_BlockMeta, a_Pos, a_World)
|
||||
{
|
||||
ASSERT(a_BlockType == E_BLOCK_FLOWER_POT);
|
||||
}
|
||||
@@ -43,7 +43,7 @@ void cFlowerPotEntity::Destroy(void)
|
||||
|
||||
void cFlowerPotEntity::CopyFrom(const cBlockEntity & a_Src)
|
||||
{
|
||||
super::CopyFrom(a_Src);
|
||||
Super::CopyFrom(a_Src);
|
||||
auto & src = static_cast<const cFlowerPotEntity &>(a_Src);
|
||||
m_Item = src.m_Item;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user