mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
game: fix compilation problems for clang
This commit is contained in:
@@ -3538,7 +3538,7 @@ void CNPC_PlayerCompanion::InputClearAllOuputs( inputdata_t &inputdata )
|
||||
typedescription_t *dataDesc = &dmap->dataDesc[i];
|
||||
if ( ( dataDesc->fieldType == FIELD_CUSTOM ) && ( dataDesc->flags & FTYPEDESC_OUTPUT ) )
|
||||
{
|
||||
CBaseEntityOutput *pOutput = (CBaseEntityOutput *)((int)this + (int)dataDesc->fieldOffset[0]);
|
||||
CBaseEntityOutput *pOutput = (CBaseEntityOutput *)((intp)this + (intp)dataDesc->fieldOffset[0]);
|
||||
pOutput->DeleteAllElements();
|
||||
/*
|
||||
int nConnections = pOutput->NumberOfElements();
|
||||
|
||||
@@ -556,7 +556,7 @@ void CPortal_Player::UpdateExpression( void )
|
||||
return;
|
||||
}
|
||||
|
||||
char const szScene[256];
|
||||
char szScene[256] = { 0 };
|
||||
response->GetResponse( szScene, sizeof(szScene) );
|
||||
|
||||
// Ignore updates that choose the same scene
|
||||
|
||||
Reference in New Issue
Block a user