fixed pathfinding problems (again)
This commit is contained in:
parent
550eadeb9e
commit
3042325f70
4 changed files with 72 additions and 23 deletions
|
|
@ -962,7 +962,7 @@ void Bot::CombatFight (void)
|
|||
|
||||
float distance = enemyOrigin.GetLength (); // how far away is the enemy scum?
|
||||
|
||||
if (m_timeWaypointMove + m_frameInterval < GetWorldTime ())
|
||||
if (m_timeWaypointMove + m_frameInterval + 0.5f < GetWorldTime ())
|
||||
{
|
||||
int approach;
|
||||
|
||||
|
|
@ -980,7 +980,6 @@ void Bot::CombatFight (void)
|
|||
approach = 49;
|
||||
}
|
||||
|
||||
|
||||
if (UsesPistol() && !((m_enemy->v.weapons & WEAPON_SECONDARY) || (m_enemy->v.weapons & (1 << WEAPON_SG550))) && !g_bombPlanted)
|
||||
{
|
||||
m_fearLevel += 0.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue