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
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// Yet Another POD-Bot, based on PODBot by Markus Klinge ("CountFloyd").
|
||||
// Copyright (c) YaPB Development Team.
|
||||
//
|
||||
|
|
@ -544,6 +544,7 @@ void Bot::CheckTerrain (float movedDistance, const Vector &dirNormal)
|
|||
state[i] = 0;
|
||||
i++;
|
||||
|
||||
#if 0
|
||||
if (bits & PROBE_DUCK)
|
||||
{
|
||||
state[i] = 0;
|
||||
|
|
@ -555,7 +556,8 @@ void Bot::CheckTerrain (float movedDistance, const Vector &dirNormal)
|
|||
state[i] += 5;
|
||||
}
|
||||
else
|
||||
state[i] = 0;
|
||||
#endif
|
||||
state[i] = 0;
|
||||
i++;
|
||||
|
||||
// weighted all possible moves, now sort them to start with most probable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue