fixed refactoring problem

This commit is contained in:
jeefo 2016-09-22 15:52:03 +03:00
commit cc6951c647

View file

@ -2959,7 +2959,7 @@ void Bot::PeriodicThink (void)
{
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 ();
}
CheckSpawnTimeConditions ();