mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-13 20:21:06 +00:00
game(hl1): fix gibbing
This commit is contained in:
@@ -487,10 +487,10 @@ int CNPC_HGrunt::SquadRecruit( int searchRadius, int maxMembers )
|
||||
}
|
||||
else
|
||||
{
|
||||
static char szSquadName[64];
|
||||
char szSquadName[64];
|
||||
Q_snprintf( szSquadName, sizeof( szSquadName ), "squad%d\n", g_iSquadIndex );
|
||||
|
||||
m_SquadName = MAKE_STRING( szSquadName );
|
||||
m_SquadName = AllocPooledString( szSquadName );
|
||||
|
||||
while ( ( pEntity = gEntList.FindEntityInSphere( pEntity, GetAbsOrigin(), searchRadius ) ) != NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user