Browse Source

hl2: fix random crash when combine throws a can

mathlib-optimize
nillerusr 1 year ago
parent
commit
271c9993da
  1. 2
      .gitignore
  2. 1
      game/server/hl2/ai_behavior_police.cpp

2
.gitignore vendored

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

1
game/server/hl2/ai_behavior_police.cpp

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

Loading…
Cancel
Save