summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/FurnaceEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-20 13:46:08 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-20 13:46:08 +0200
commit0aba613084d3321208b78b0115e4dcadc4bc4763 (patch)
tree7e74b041454a9dbf080420ddf973a6bb3550fca0 /source/BlockEntities/FurnaceEntity.cpp
parentFurnaces light up visually when they're cooking (diff)
downloadcuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar.gz
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar.bz2
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar.lz
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar.xz
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.tar.zst
cuberite-0aba613084d3321208b78b0115e4dcadc4bc4763.zip
Diffstat (limited to 'source/BlockEntities/FurnaceEntity.cpp')
-rw-r--r--source/BlockEntities/FurnaceEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/BlockEntities/FurnaceEntity.cpp b/source/BlockEntities/FurnaceEntity.cpp
index d90746c55..e1b6fc47b 100644
--- a/source/BlockEntities/FurnaceEntity.cpp
+++ b/source/BlockEntities/FurnaceEntity.cpp
@@ -91,6 +91,8 @@ void cFurnaceEntity::UsedBy(cPlayer * a_Player)
if (a_Player->GetWindow() != Window)
{
a_Player->OpenWindow(Window);
+ BroadcastProgress(PROGRESSBAR_FUEL, m_LastProgressFuel);
+ BroadcastProgress(PROGRESSBAR_SMELTING, m_LastProgressCook);
}
}
}