cathook
cathook copied to clipboard
Binary search for ProjectilePrediction()
Two improvements:
- Use binary search for time prediction in ProjectilePrediction(). We get very tight mindelta with same time complexity. (Flag:
debug.pp-bsearch) - Account for projectile gravity drop. (Flag:
debug.pp-gravity)
Both changes are gated by the flags. No-op code change -- should not affect existing configs.
Testing today.
Works just fine
Actually nevermind, it often just sits there and does not even try to shoot