From e82cd6e4eb78a163b6a72fc1729804e69f1b7601 Mon Sep 17 00:00:00 2001 From: HaoTNN Date: Tue, 2 Jun 2015 17:26:21 -0700 Subject: Fixes multiple furnace issues, including from loading world storage --- src/BlockEntities/FurnaceEntity.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/BlockEntities/FurnaceEntity.h') diff --git a/src/BlockEntities/FurnaceEntity.h b/src/BlockEntities/FurnaceEntity.h index 8b3ba3e36..8734d763c 100644 --- a/src/BlockEntities/FurnaceEntity.h +++ b/src/BlockEntities/FurnaceEntity.h @@ -101,6 +101,11 @@ public: m_TimeCooked = a_TimeCooked; } + void SetLoading(bool a_IsLoading) + { + m_IsLoading = a_IsLoading; + } + protected: /** Block meta of the block currently represented by this entity */ @@ -129,6 +134,9 @@ protected: /** Amount of ticks that the current fuel has been burning */ int m_TimeBurned; + + /** Is the block currently being loaded into the world? */ + bool m_IsLoading; /** Sends the specified progressbar value to all clients of the window */ void BroadcastProgress(short a_ProgressbarID, short a_Value); -- cgit v1.2.3