hl2: fix random crash when combine throws a can
This commit is contained in:
parent
98837c0e9e
commit
abbcc53843
2 changed files with 1 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -37,5 +37,3 @@ waf3*/
|
||||||
.vscode/
|
.vscode/
|
||||||
.depproj/
|
.depproj/
|
||||||
source-engine.sln
|
source-engine.sln
|
||||||
hl2/
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue