mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-26 13:47:56 +03:00
Fixing bad merge of CBaseEntity::FindNamedOutput
This commit is contained in:
parent
3bdbef4169
commit
d52196a0b1
@ -1340,7 +1340,7 @@ CBaseEntityOutput *CBaseEntity::FindNamedOutput( const char *pszOutput )
|
||||
typedescription_t *dataDesc = &dmap->dataDesc[i];
|
||||
if ( ( dataDesc->fieldType == FIELD_CUSTOM ) && ( dataDesc->flags & FTYPEDESC_OUTPUT ) )
|
||||
{
|
||||
CBaseEntityOutput *pOutput = ( CBaseEntityOutput * )( ( int )this + ( int )dataDesc->fieldOffset );
|
||||
CBaseEntityOutput *pOutput = ( CBaseEntityOutput * )( ( int )this + ( int )dataDesc->fieldOffset[0] );
|
||||
if ( !Q_stricmp( dataDesc->externalName, pszOutput ) )
|
||||
{
|
||||
return pOutput;
|
||||
@ -7147,6 +7147,7 @@ const char *CBaseEntity::GetContextValue( int index ) const
|
||||
}
|
||||
|
||||
return m_ResponseContexts[ index ].m_iszValue.ToCStr();
|
||||
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user