hl2: fix random crash when combine throws a can

This commit is contained in:
nillerusr 2023-04-30 17:03:03 +03:00
parent 965ef97212
commit 271c9993da
2 changed files with 1 additions and 2 deletions

2
.gitignore vendored
View File

@ -37,5 +37,3 @@ waf3*/
.vscode/ .vscode/
.depproj/ .depproj/
source-engine.sln source-engine.sln
hl2/

View File

@ -33,6 +33,7 @@ CAI_PolicingBehavior::CAI_PolicingBehavior( void )
m_bEnabled = false; m_bEnabled = false;
m_nNumWarnings = 0; m_nNumWarnings = 0;
m_bTargetIsHostile = false; m_bTargetIsHostile = false;
m_hPoliceGoal = NULL;
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------