sourcemod/extensions/sdkhooks
peace-maker aab8c6ac9f
Fix SDKHook_[Use|Spawn|GetMaxHealth] callback result value handling (#1872)
* Fix SDKHook_Use callback result handling

The returned result of the last callback in the list was used instead
of the highest value. This differs from the behavior of the other hooks.

* Fix SDKHook_Spawn callback result handling

The returned result of the last callback in the list was used instead
of the highest value. This differs from the behavior of the other hooks.

* Fix SDKHook_GetMaxHealth callback result handling

The returned result of the last callback in the list was used instead
of the highest value. This differs from the behavior of the other hooks.
The returned health is only changed if no other plugin wants to block the callback.
2022-12-04 12:12:42 +01:00
..
AMBuilder Add support for hl2sdk-mock. 2021-09-22 12:36:44 -07:00
extension.cpp Fix SDKHook_[Use|Spawn|GetMaxHealth] callback result value handling (#1872) 2022-12-04 12:12:42 +01:00
extension.h Split PVKII into its own engine branch (#1847) 2022-10-24 19:27:32 +00:00
macros.h Fixed SDKHooks thinking a hook type was supported when gamedata missing (r=voided). 2013-08-22 21:45:19 -04:00
natives.cpp Fix crash in non-bypass-hooks DropWeapon implementation (#1672) 2021-12-15 10:41:55 +00:00
natives.h Initial commit of latest functional SDKHooks extension. 2013-02-07 23:43:33 -05:00
smsdk_config.h Deduplicate a number of files used by extensions by moving them to the public directory (bug 5341, r=psychonic). 2014-04-23 21:19:28 -05:00
takedamageinfohack.cpp Split PVKII into its own engine branch (#1847) 2022-10-24 19:27:32 +00:00
takedamageinfohack.h Update SDKHooks_TakeDamage for CS:GO changes (#1319) 2020-07-25 03:45:35 +01:00
util.cpp Improve logical entity support in SDKHooks natives (bug 6069, r=asherkin). 2014-03-21 22:09:15 -04:00
util.h Improve logical entity support in SDKHooks natives (bug 6069, r=asherkin). 2014-03-21 22:09:15 -04:00
version.rc Minor typo fix in SDKHooks version.rc. 2013-02-08 07:57:16 -05:00