|
|
@ -751,6 +751,8 @@ CBaseEntity *CBaseEntity::Create( char *szName, const Vector &vecOrigin, const V |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
pEntity = Instance( pent ); |
|
|
|
pEntity = Instance( pent ); |
|
|
|
|
|
|
|
if( !pEntity ) |
|
|
|
|
|
|
|
return NULL; |
|
|
|
pEntity->pev->owner = pentOwner; |
|
|
|
pEntity->pev->owner = pentOwner; |
|
|
|
pEntity->pev->origin = vecOrigin; |
|
|
|
pEntity->pev->origin = vecOrigin; |
|
|
|
pEntity->pev->angles = vecAngles; |
|
|
|
pEntity->pev->angles = vecAngles; |
|
|
|