Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions scripting/include/srccoop/playerpatch.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1087,8 +1087,11 @@ static void ClearNpcMemoryForPlayer(const CBasePlayer pPlayer)
pEntity.GetClassname(szClassname, sizeof(szClassname));
if (strcmp(szClassname, "npc_abrams") == 0)
{
// causes a crash in CNPC_Abrams::AimMiniTurret2
continue;
continue; // causes a crash in CNPC_Abrams::AimMiniTurret2
}
if (strcmp(szClassname, "npc_nihilanth") == 0)
{
continue; // always expects to have an enemy
}
if (strcmp(szClassname, "npc_human_security") == 0)
{
Expand Down