We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab6dbb8 commit 7976a21Copy full SHA for 7976a21
1 file changed
sp/src/game/server/hl2/weapon_physcannon.cpp
@@ -2758,7 +2758,7 @@ CWeaponPhysCannon::FindObjectResult_t CWeaponPhysCannon::FindObject( void )
2758
pullDir *= (mass + 0.5) * (1/50.0f);
2759
}
2760
2761
- CPhysicsProp* pProp = dynamic_cast<CPhysicsProp*>(pObj);
+ CPhysicsProp* pProp = dynamic_cast<CPhysicsProp*>(pEntity);
2762
if (pProp) {
2763
pProp->OnPhysGunPull( pOwner );
2764
0 commit comments