Commit Graph

5 Commits

Author SHA1 Message Date
A1mDev
f7250c8288 Added missing fields to the CTakeDamageInfo class, the actual size of the structure is 96 bytes.
- Updated `CTakeDamageInfo` to include new class fields (`m_flRadius` and `m_iDamageVictimIndex`) for clarity and future compatibility.

- Existing hooks remain fully compatible.

- Crashes in SourceMod do not occur due to an incorrect stack, because the structure is always passed by reference or pointer.

- Updating the structure is recommended for cases where manual access to all fields or other special use cases is required.
2025-10-19 20:07:51 +07:00
Nick Hastings
ff9efd8615 Fix file encoding 2025-05-17 14:16:40 -04:00
Scott Ehlert
4caefcbcba Fixed conflict between min/max macros and std::min/max when using GCC >= 4.2. 2011-04-28 01:30:37 -05:00
Scott Ehlert
7ff7f366d5 Modified SDK for GCC 4.2 2008-09-15 02:50:57 -05:00
Scott Ehlert
055f5cd168 Added most recent version of unmodified HL2 SDK for Orange Box engine 2008-09-15 01:07:45 -05:00