fixed refactoring problem
This commit is contained in:
parent
1200a34730
commit
cc6951c647
1 changed files with 2 additions and 2 deletions
|
|
@ -2959,8 +2959,8 @@ void Bot::PeriodicThink (void)
|
||||||
{
|
{
|
||||||
const Vector &bombPosition = waypoints.GetBombPosition ();
|
const Vector &bombPosition = waypoints.GetBombPosition ();
|
||||||
|
|
||||||
if (!m_hasProgressBar && GetTaskId () != TASK_ESCAPEFROMBOMB && (pev->origin - bombPosition).GetLength () < 700 && !IsBombDefusing ())
|
if (!m_hasProgressBar && GetTaskId () != TASK_ESCAPEFROMBOMB && (pev->origin - bombPosition).GetLength () < 700 && !IsBombDefusing (bombPosition))
|
||||||
ResetTasks ();
|
ResetTasks ();
|
||||||
}
|
}
|
||||||
CheckSpawnTimeConditions ();
|
CheckSpawnTimeConditions ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue