more fixed for clang warnings

This commit is contained in:
Dmitry 2015-06-06 16:37:15 +03:00
commit 8f48af4314
5 changed files with 10 additions and 11 deletions

View file

@ -1394,9 +1394,9 @@ void Bot::CommandTeam (void)
if (memberNear) // has teammates ?
{
if (m_personality == PERSONALITY_RUSHER && !(yb_communication_type.GetInt () == 2))
if (m_personality == PERSONALITY_RUSHER && yb_communication_type.GetInt () == 2)
RadioMessage (Radio_StormTheFront);
else if (!m_personality == PERSONALITY_RUSHER && !(yb_communication_type.GetInt () == 2))
else if (m_personality != PERSONALITY_RUSHER && yb_communication_type.GetInt () == 2)
RadioMessage (Radio_Fallback);
}
else if (memberExists && yb_communication_type.GetInt () == 1)