peace-maker 0478912d73 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.
2023-08-30 22:08:45 +02:00
2023-08-30 22:08:45 +02:00
2021-07-17 11:32:02 +01:00
2023-08-30 22:08:45 +02:00
2019-09-30 22:43:18 -07:00
2023-08-30 22:08:45 +02:00
2023-08-30 22:08:45 +02:00
2020-08-18 23:09:43 -07:00
2023-08-30 22:08:45 +02:00
2023-08-30 22:08:44 +02:00
2011-04-13 19:05:41 -05:00
2023-08-30 22:08:45 +02:00
2019-10-18 21:07:36 -07:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.

S
Description
No description provided
Readme
45 MiB
Languages
C 59.7%
C++ 18%
HTML 4.8%
Roff 3.8%
SourcePawn 3.4%
Other 10%