mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 06:07:56 +03:00
Merge pull request #237 from AgentAgrimar/master
Assign Held Physcannon Entity to Pass into Commander Goal Trace
This commit is contained in:
commit
8280197df3
@ -1814,7 +1814,7 @@ bool CHL2_Player::CommanderFindGoal( commandgoal_t *pGoal )
|
||||
// Get either our +USE entity or the gravity gun entity
|
||||
CBaseEntity *pHeldEntity = GetPlayerHeldEntity(this);
|
||||
if ( !pHeldEntity )
|
||||
PhysCannonGetHeldEntity( GetActiveWeapon() );
|
||||
pHeldEntity = PhysCannonGetHeldEntity( GetActiveWeapon() );
|
||||
|
||||
CTraceFilterSkipTwoEntities filter( this, pHeldEntity, COLLISION_GROUP_INTERACTIVE_DEBRIS );
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user