Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix velocities assignment of SDKHooks_TakeDamage #1322

Merged
merged 6 commits into from
Aug 7, 2020
Merged

Fix velocities assignment of SDKHooks_TakeDamage #1322

merged 6 commits into from
Aug 7, 2020

Conversation

PerfectLaugh
Copy link
Contributor

The bug make SDKHooks_TakeDamage's velocity arguments cannot be passed to constructed CTakeDamageInfoHack, causing no damage velocity generated.

@KyleSanderson
Copy link
Member

@psychonic what do you think about this one? I didn't go back to mercurial to look at how it happened but it looks like an innocent enough issue. My only concern is knockback plugins rely on these values, fixing them will obviously change behaviour. @ErikMinekus any thoughts on this one?

@KyleSanderson KyleSanderson merged commit 031f80f into alliedmodders:master Aug 7, 2020
psychonic pushed a commit that referenced this pull request Mar 20, 2022
* Attempt to correct SDKHooks_TakeDamage

* Define function on both csgo and non-csgo

* Remove unneeded macros

* Fix velocity copy on CTakeDamageInfoHack init

(cherry picked from commit 031f80f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants