1
0

Fixed reported parentheses around comparisons.

This commit is contained in:
Mattes D
2014-12-05 12:56:53 +01:00
parent ad13a80d14
commit 44644ae025
14 changed files with 99 additions and 83 deletions

View File

@@ -1276,7 +1276,7 @@ bool cEntity::DetectPortal()
return false;
}
if (IsPlayer() && !((cPlayer *)this)->IsGameModeCreative() && m_PortalCooldownData.m_TicksDelayed != 80)
if (IsPlayer() && !((cPlayer *)this)->IsGameModeCreative() && (m_PortalCooldownData.m_TicksDelayed != 80))
{
// Delay teleportation for four seconds if the entity is a non-creative player
m_PortalCooldownData.m_TicksDelayed++;