diff --git a/sp/src/game/server/hl2/weapon_physcannon.cpp b/sp/src/game/server/hl2/weapon_physcannon.cpp index 2947e291..c2a3c4ca 100644 --- a/sp/src/game/server/hl2/weapon_physcannon.cpp +++ b/sp/src/game/server/hl2/weapon_physcannon.cpp @@ -2758,7 +2758,7 @@ CWeaponPhysCannon::FindObjectResult_t CWeaponPhysCannon::FindObject( void ) pullDir *= (mass + 0.5) * (1/50.0f); } - CPhysicsProp* pProp = dynamic_cast(pObj); + CPhysicsProp* pProp = dynamic_cast(pEntity); if (pProp) { pProp->OnPhysGunPull( pOwner ); }