Using Super.
This commit is contained in:
committed by
Alexander Harkness
parent
f931590bf0
commit
9ee47e5999
@@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
cDropSpenserEntity::cDropSpenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
|
||||
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
|
||||
Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
|
||||
m_ShouldDropSpense(false)
|
||||
{
|
||||
}
|
||||
@@ -115,7 +115,7 @@ void cDropSpenserEntity::Activate(void)
|
||||
|
||||
void cDropSpenserEntity::CopyFrom(const cBlockEntity & a_Src)
|
||||
{
|
||||
super::CopyFrom(a_Src);
|
||||
Super::CopyFrom(a_Src);
|
||||
auto & src = static_cast<const cDropSpenserEntity &>(a_Src);
|
||||
m_Contents.CopyFrom(src.m_Contents);
|
||||
m_ShouldDropSpense = src.m_ShouldDropSpense;
|
||||
|
||||
Reference in New Issue
Block a user