source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Pass CBasePlayer in PreferredCarryAngles

Open speedvoltage opened this issue 9 months ago • 0 comments

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.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage