Browse Source

hl2: fix random crash when combine throws a can

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

2
.gitignore vendored

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

1
game/server/hl2/ai_behavior_police.cpp

@ -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…
Cancel
Save