summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/FurnaceEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-15 09:36:43 +0100
committermadmaxoft <github@xoft.cz>2013-11-15 09:49:56 +0100
commitebb2ccaa267116106002f358e18c5af58e13ec34 (patch)
tree0ae3962669ac528efcd3db84c69950431909b202 /source/BlockEntities/FurnaceEntity.cpp
parentMerge pull request #349 from SamJBarney/master (diff)
downloadcuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar.gz
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar.bz2
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar.lz
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar.xz
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.tar.zst
cuberite-ebb2ccaa267116106002f358e18c5af58e13ec34.zip
Diffstat (limited to '')
-rw-r--r--source/BlockEntities/FurnaceEntity.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/source/BlockEntities/FurnaceEntity.cpp b/source/BlockEntities/FurnaceEntity.cpp
index 2f548d003..ec5ebe8b9 100644
--- a/source/BlockEntities/FurnaceEntity.cpp
+++ b/source/BlockEntities/FurnaceEntity.cpp
@@ -23,27 +23,6 @@ enum
-cFurnaceEntity::cFurnaceEntity(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) :
- super(E_BLOCK_FURNACE, a_BlockX, a_BlockY, a_BlockZ, ContentsWidth, ContentsHeight, NULL),
- m_BlockType(a_BlockType),
- m_BlockMeta(a_BlockMeta),
- m_CurrentRecipe(NULL),
- m_IsCooking(false),
- m_NeedCookTime(0),
- m_TimeCooked(0),
- m_FuelBurnTime(0),
- m_TimeBurned(0),
- m_LastProgressFuel(0),
- m_LastProgressCook(0)
-{
- SetBlockEntity(this); // cBlockEntityWindowOwner
- m_Contents.AddListener(*this);
-}
-
-
-
-
-
cFurnaceEntity::cFurnaceEntity(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, cWorld * a_World) :
super(E_BLOCK_FURNACE, a_BlockX, a_BlockY, a_BlockZ, ContentsWidth, ContentsHeight, a_World),
m_BlockType(a_BlockType),
@@ -57,7 +36,7 @@ cFurnaceEntity::cFurnaceEntity(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTY
m_LastProgressFuel(0),
m_LastProgressCook(0)
{
- SetBlockEntity(this); // cBlockEntityWindowOwner
+ cBlockEntityWindowOwner::SetBlockEntity(this);
m_Contents.AddListener(*this);
}