sourcemod/extensions/dhooks
peace-maker c92354debb
DHooks: Fix changing of byref vector parameters (#1772)
We always created a new vector object instead of changing the passed in vector directly. This works for the function being called using our changed values - but the caller doesn't see the changed values if it's passing a vector by reference.

Only create a new vector if there isn't one being passed in and set the values directly in the passed in vector otherwise.
2022-05-31 14:55:47 +02:00
..
DynamicHooks Use JMP patching of CDetour 2021-11-17 13:17:39 +01:00
AMBuilder Use JMP patching of CDetour 2021-11-17 13:17:39 +01:00
dynhooks_sourcepawn.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
dynhooks_sourcepawn.h Add copyright headers 2021-11-17 13:17:39 +01:00
extension.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
extension.h Add copyright headers 2021-11-17 13:17:39 +01:00
listeners.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
listeners.h Add copyright headers 2021-11-17 13:17:39 +01:00
natives.cpp DHooks: Fix changing of byref vector parameters (#1772) 2022-05-31 14:55:47 +02:00
natives.h Add copyright headers 2021-11-17 13:17:39 +01:00
sdk-hacks.h Add copyright headers 2021-11-17 13:17:39 +01:00
signatures.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
signatures.h Add copyright headers 2021-11-17 13:17:39 +01:00
smsdk_config.h Use SourceMod's version number 2021-11-17 13:17:39 +01:00
util.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
util.h Add copyright headers 2021-11-17 13:17:39 +01:00
version.rc Import DHooks + Dynamic Detouring 2021-11-17 13:17:39 +01:00
vfunc_call.h Add copyright headers 2021-11-17 13:17:39 +01:00
vhook.cpp Add copyright headers 2021-11-17 13:17:39 +01:00
vhook.h Add copyright headers 2021-11-17 13:17:39 +01:00