more fixed for clang warnings
This commit is contained in:
parent
25504279d9
commit
8f48af4314
5 changed files with 10 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue