Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double C_TFCompoundBow::GetProjectileGravity()
- {
- double charge = (float)this->GetCurrentCharge();
- if (charge > 0)
- {
- if (charge <= 1.0)
- return (charge * -0.4 + 0.5);
- else
- return 0.01;
- }
- else
- return 0.5;
- }
Advertisement
Add Comment
Please, Sign In to add comment