Skip to content

Commit 271c999

Browse files
committed
hl2: fix random crash when combine throws a can
1 parent 965ef97 commit 271c999

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ waf3*/
3737
.vscode/
3838
.depproj/
3939
source-engine.sln
40-
hl2/
41-

game/server/hl2/ai_behavior_police.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CAI_PolicingBehavior::CAI_PolicingBehavior( void )
3333
m_bEnabled = false;
3434
m_nNumWarnings = 0;
3535
m_bTargetIsHostile = false;
36+
m_hPoliceGoal = NULL;
3637
}
3738

3839
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)