diff options
author | Mattes D <github@xoft.cz> | 2014-10-21 22:00:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-21 22:00:31 +0200 |
commit | 881bc66233a4937bdbd82275557e03936d2f9e2c (patch) | |
tree | d8dacfa5093d5f64fbc91af368e4ac91bdced1ed /src/BlockEntities/FurnaceEntity.cpp | |
parent | Exported individual projectile classes to Lua API. (diff) | |
download | cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar.gz cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar.bz2 cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar.lz cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar.xz cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.tar.zst cuberite-881bc66233a4937bdbd82275557e03936d2f9e2c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/FurnaceEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/FurnaceEntity.cpp b/src/BlockEntities/FurnaceEntity.cpp index d8ca15c6c..ac71f1541 100644 --- a/src/BlockEntities/FurnaceEntity.cpp +++ b/src/BlockEntities/FurnaceEntity.cpp @@ -349,7 +349,7 @@ void cFurnaceEntity::UpdateProgressBars(bool a_ForceUpdate) int CurFuel = (m_FuelBurnTime > 0) ? 200 - (200 * m_TimeBurned / m_FuelBurnTime) : 0; BroadcastProgress(PROGRESSBAR_FUEL, static_cast<short>(CurFuel)); - int CurCook = (m_NeedCookTime > 0) ? (200 * m_TimeCooked / m_NeedCookTime) : 0; + int CurCook = (m_NeedCookTime > 0) ? (200 * m_TimeCooked / m_NeedCookTime) : 0; BroadcastProgress(PROGRESSBAR_SMELTING_CONFIRM, 200); // Post 1.8, Mojang requires a random packet with an ID of three and value of 200. Wat. Wat. Wat. BroadcastProgress(PROGRESSBAR_SMELTING, static_cast<short>(CurCook)); } |