Skip to content

Fix velocities assignment of SDKHooks_TakeDamage#1322

Merged
KyleSanderson merged 6 commits intoalliedmodders:masterfrom
PerfectLaugh:master
Aug 7, 2020
Merged

Fix velocities assignment of SDKHooks_TakeDamage#1322
KyleSanderson merged 6 commits intoalliedmodders:masterfrom
PerfectLaugh:master

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