diff --git a/sp/src/game/server/hl2/hl2_player.cpp b/sp/src/game/server/hl2/hl2_player.cpp index 1cd610bb909..cefdeeb41ae 100644 --- a/sp/src/game/server/hl2/hl2_player.cpp +++ b/sp/src/game/server/hl2/hl2_player.cpp @@ -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