1
0
Fork 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
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName) :
{
m_CanFly = true;
}
if (World->IsGameModeSpectator()) //Otherwise Player will fall out of the world on join
if (World->IsGameModeSpectator()) // Otherwise Player will fall out of the world on join
{
m_CanFly = true;
m_IsFlying = true;
@ -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);
}