Fixed trailing whitespace.
This commit is contained in:
parent
0c0c762412
commit
881bc66233
@ -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));
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ protected:
|
||||
int m_FuelBurnTime;
|
||||
|
||||
/** Amount of ticks that the current fuel has been burning */
|
||||
int m_TimeBurned;
|
||||
int m_TimeBurned;
|
||||
|
||||
/** Sends the specified progressbar value to all clients of the window */
|
||||
void BroadcastProgress(short a_ProgressbarID, short a_Value);
|
||||
|
Loading…
Reference in New Issue
Block a user