bump version number
fixed some of coverity warnings
This commit is contained in:
parent
4b0188222f
commit
1259276bcb
8 changed files with 15 additions and 14 deletions
|
|
@ -235,7 +235,7 @@ void Bot::CheckGrenadeThrow (void)
|
|||
|
||||
int friendCount = GetNearbyFriendsNearPosition (path->origin, 256.0f);
|
||||
|
||||
if (friendCount != 0 || !(m_difficulty == 4 && friendCount != 0))
|
||||
if (friendCount > 0 && m_difficulty < 4)
|
||||
continue;
|
||||
|
||||
m_throw = path->origin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue