mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-10 10:49:35 +00:00
add source-sdk-2013
This commit is contained in:
@@ -375,7 +375,7 @@ bool CPointTemplate::CreateInstance( const Vector &vecOrigin, const QAngle &vecA
|
||||
pEntity->SetAbsOrigin( vecNewOrigin );
|
||||
pEntity->SetAbsAngles( vecNewAngles );
|
||||
|
||||
pSpawnList[i].m_hEntity = pEntity;
|
||||
pSpawnList[i].m_pEntity = pEntity;
|
||||
pSpawnList[i].m_nDepth = 0;
|
||||
pSpawnList[i].m_pDeferredParent = NULL;
|
||||
}
|
||||
@@ -384,9 +384,9 @@ bool CPointTemplate::CreateInstance( const Vector &vecOrigin, const QAngle &vecA
|
||||
|
||||
for ( i = 0; i < iTemplates; ++i )
|
||||
{
|
||||
if ( pSpawnList[i].m_hEntity )
|
||||
if ( pSpawnList[i].m_pEntity )
|
||||
{
|
||||
pEntities->AddToTail( pSpawnList[i].m_hEntity );
|
||||
pEntities->AddToTail( pSpawnList[i].m_pEntity );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user