diff --git a/.gitignore b/.gitignore index 37d8b4c9..717bd12d 100644 --- a/.gitignore +++ b/.gitignore @@ -37,5 +37,3 @@ waf3*/ .vscode/ .depproj/ source-engine.sln -hl2/ - diff --git a/game/server/hl2/ai_behavior_police.cpp b/game/server/hl2/ai_behavior_police.cpp index eb1b45b3..a3062ddc 100644 --- a/game/server/hl2/ai_behavior_police.cpp +++ b/game/server/hl2/ai_behavior_police.cpp @@ -33,6 +33,7 @@ CAI_PolicingBehavior::CAI_PolicingBehavior( void ) m_bEnabled = false; m_nNumWarnings = 0; m_bTargetIsHostile = false; + m_hPoliceGoal = NULL; } //-----------------------------------------------------------------------------