Manage block entity lifetime with unique_ptr (#4080)
This commit is contained in:
@@ -221,7 +221,7 @@ void cBlockEntity::SetPos(Vector3i a_NewPos)
|
||||
|
||||
|
||||
|
||||
cBlockEntity * cBlockEntity::Clone(Vector3i a_Pos)
|
||||
OwnedBlockEntity cBlockEntity::Clone(Vector3i a_Pos)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
@@ -230,7 +230,7 @@ cBlockEntity * cBlockEntity::Clone(Vector3i a_Pos)
|
||||
|
||||
|
||||
|
||||
cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World)
|
||||
OwnedBlockEntity cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user