mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Sync with latest source-sdk-2013.
This commit is contained in:
@ -1318,9 +1318,9 @@ static Activity DetermineExpressionMoveActivity( CChoreoEvent *event, CAI_BaseNP
|
||||
|
||||
// Custom distance styles are appended to param2 with a space as a separator
|
||||
const char *pszAct = Q_strstr( sParam2, " " );
|
||||
char szActName[256];
|
||||
if ( pszAct )
|
||||
{
|
||||
char szActName[256];
|
||||
Q_strncpy( szActName, sParam2, sizeof(szActName) );
|
||||
szActName[ (pszAct-sParam2) ] = '\0';
|
||||
pszAct = szActName;
|
||||
@ -2555,7 +2555,7 @@ void CFlexCycler::Think( void )
|
||||
{
|
||||
m_flexnum = LookupFlex( szTemp );
|
||||
|
||||
if (m_flexnum != -1 && m_flextarget[m_flexnum] != 1)
|
||||
if (m_flexnum != LocalFlexController_t(-1) && m_flextarget[m_flexnum] != 1)
|
||||
{
|
||||
m_flextarget[m_flexnum] = 1.0;
|
||||
// SetFlexTarget( m_flexnum );
|
||||
|
Reference in New Issue
Block a user