|
|
@ -209,7 +209,6 @@ BEGIN_DATADESC( CNPC_HGrunt ) |
|
|
|
DEFINE_FIELD( m_voicePitch, FIELD_INTEGER ), |
|
|
|
DEFINE_FIELD( m_voicePitch, FIELD_INTEGER ), |
|
|
|
DEFINE_FIELD( m_iSentence, FIELD_INTEGER ), |
|
|
|
DEFINE_FIELD( m_iSentence, FIELD_INTEGER ), |
|
|
|
DEFINE_KEYFIELD( m_iWeapons, FIELD_INTEGER, "weapons" ), |
|
|
|
DEFINE_KEYFIELD( m_iWeapons, FIELD_INTEGER, "weapons" ), |
|
|
|
DEFINE_KEYFIELD( m_SquadName, FIELD_STRING, "netname" ), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEFINE_FIELD( m_bInBarnacleMouth, FIELD_BOOLEAN ), |
|
|
|
DEFINE_FIELD( m_bInBarnacleMouth, FIELD_BOOLEAN ), |
|
|
|
DEFINE_FIELD( m_flLastEnemySightTime, FIELD_TIME ), |
|
|
|
DEFINE_FIELD( m_flLastEnemySightTime, FIELD_TIME ), |
|
|
@ -488,7 +487,7 @@ int CNPC_HGrunt::SquadRecruit( int searchRadius, int maxMembers ) |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
char szSquadName[64]; |
|
|
|
static char szSquadName[64]; |
|
|
|
Q_snprintf( szSquadName, sizeof( szSquadName ), "squad%d\n", g_iSquadIndex ); |
|
|
|
Q_snprintf( szSquadName, sizeof( szSquadName ), "squad%d\n", g_iSquadIndex ); |
|
|
|
|
|
|
|
|
|
|
|
m_SquadName = MAKE_STRING( szSquadName ); |
|
|
|
m_SquadName = MAKE_STRING( szSquadName ); |
|
|
|