From 0aba613084d3321208b78b0115e4dcadc4bc4763 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 20 Jun 2013 11:46:08 +0000 Subject: Furnace window progressbars are initialized when the window is opened git-svn-id: http://mc-server.googlecode.com/svn/trunk@1613 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockEntities/FurnaceEntity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/BlockEntities/FurnaceEntity.cpp') 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); } } } -- cgit v1.2.3