Skip to content

Commit 271c999

Browse files
committedApr 30, 2023
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

-2
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

+1
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)
Please sign in to comment.