summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/FurnaceEntity.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-24 20:29:59 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-24 20:29:59 +0100
commitdf193c8f6f414525850092b2705343605cb74137 (patch)
tree7d32968ed3c95ec722182cfa4223d2f3dd79fb01 /src/BlockEntities/FurnaceEntity.cpp
parentMerge pull request #710 from TheJumper/master (diff)
downloadcuberite-df193c8f6f414525850092b2705343605cb74137.tar
cuberite-df193c8f6f414525850092b2705343605cb74137.tar.gz
cuberite-df193c8f6f414525850092b2705343605cb74137.tar.bz2
cuberite-df193c8f6f414525850092b2705343605cb74137.tar.lz
cuberite-df193c8f6f414525850092b2705343605cb74137.tar.xz
cuberite-df193c8f6f414525850092b2705343605cb74137.tar.zst
cuberite-df193c8f6f414525850092b2705343605cb74137.zip
Diffstat (limited to 'src/BlockEntities/FurnaceEntity.cpp')
-rw-r--r--src/BlockEntities/FurnaceEntity.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/BlockEntities/FurnaceEntity.cpp b/src/BlockEntities/FurnaceEntity.cpp
index c6643bcff..7d6d1f89e 100644
--- a/src/BlockEntities/FurnaceEntity.cpp
+++ b/src/BlockEntities/FurnaceEntity.cpp
@@ -94,6 +94,8 @@ bool cFurnaceEntity::ContinueCooking(void)
bool cFurnaceEntity::Tick(float a_Dt, cChunk & a_Chunk)
{
+ UNUSED(a_Dt);
+ UNUSED(a_Chunk);
if (m_FuelBurnTime <= 0)
{
// No fuel is burning, reset progressbars and bail out
@@ -110,7 +112,7 @@ bool cFurnaceEntity::Tick(float a_Dt, cChunk & a_Chunk)
if (m_TimeCooked >= m_NeedCookTime)
{
// Finished smelting one item
- FinishOne(a_Chunk);
+ FinishOne();
}
}
@@ -208,7 +210,7 @@ void cFurnaceEntity::BroadcastProgress(int a_ProgressbarID, short a_Value)
/// One item finished cooking
-void cFurnaceEntity::FinishOne(cChunk & a_Chunk)
+void cFurnaceEntity::FinishOne()
{
m_TimeCooked = 0;