mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
hl2: fix random crash when combine throws a can
This commit is contained in:
parent
965ef97212
commit
271c9993da
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 New Issue
Block a user