upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
@@ -121,7 +121,7 @@ bool CAI_BaseNPC::IsValidCover( const Vector &vecCoverLocation, CAI_Hint const *
Vector endPos = startPos;
endPos.z += 0.01;
trace_t tr;
AI_TraceEntity( this, vecCoverLocation, endPos, MASK_NPCSOLID, &tr );
AI_TraceEntity( this, vecCoverLocation, endPos, GetAITraceMask(), &tr );
if (tr.startsolid)
{
return false;