source-sdk-2013
source-sdk-2013 copied to clipboard
[HL2MP] Pass CBasePlayer in PreferredCarryAngles
Issue:
The function PreferredCarryAngles doesn't pass any arguments. It's not really an issue when we think about it, but we can improve this.
Fix:
Pass CBasePlayer *pPlayer for PreferredCarryAngles. The reason for passing CBasePlayer* instead of void in PreferredCarryAngles is to allow different carry angles based on the player interacting with the object.