mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
game(hl1): fix use after scope
This commit is contained in:
@@ -994,7 +994,7 @@ int CNPC_Houndeye::SquadRecruit( int searchRadius, int maxMembers )
|
||||
}
|
||||
else
|
||||
{
|
||||
char szSquadName[64];
|
||||
static char szSquadName[64];
|
||||
Q_snprintf( szSquadName, sizeof( szSquadName ), "squad%d\n", s_iSquadIndex );
|
||||
|
||||
m_SquadName = MAKE_STRING( szSquadName );
|
||||
|
||||
Reference in New Issue
Block a user