1
0

Updated whitespace in comment, changed conditional to logical equivalent due to popular demand

This commit is contained in:
Jonathan Fabian 2014-12-03 23:04:53 -05:00
parent 1e6c13ea51
commit 6ca47185c4

View File

@ -1899,7 +1899,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
void cPlayer::TickBurning(cChunk & a_Chunk)
{
// Don't burn in creative or spectator and stop burning in creative if necessary
if (!(IsGameModeCreative() || IsGameModeSpectator()))
if (!IsGameModeCreative() && !IsGameModeSpectator())
{
super::TickBurning(a_Chunk);
}