We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e6035b + 1876d1a commit 8280197Copy full SHA for 8280197
sp/src/game/server/hl2/hl2_player.cpp
@@ -1814,7 +1814,7 @@ bool CHL2_Player::CommanderFindGoal( commandgoal_t *pGoal )
1814
// Get either our +USE entity or the gravity gun entity
1815
CBaseEntity *pHeldEntity = GetPlayerHeldEntity(this);
1816
if ( !pHeldEntity )
1817
- PhysCannonGetHeldEntity( GetActiveWeapon() );
+ pHeldEntity = PhysCannonGetHeldEntity( GetActiveWeapon() );
1818
1819
CTraceFilterSkipTwoEntities filter( this, pHeldEntity, COLLISION_GROUP_INTERACTIVE_DEBRIS );
1820
#else
0 commit comments