fix: port to KHook for Metamod 2.0 build 1461+
Metamod 1461+ removed SourceHook (plugin API 17 -> 18), so the MM plugin was rejected and RayTraceImpl crashed on a null CRayTraceInterface002. Replace the two SourceHook hooks with KHook, build against Metamod's bundled KHook headers, include ray.h explicitly for the updated hl2sdk, and disambiguate TraceOptions/TraceResult from CounterStrikeSharp 1.0.375's new types of the same name.
This commit is contained in:
parent
616e169a2c
commit
971e91c711
8 changed files with 33 additions and 46 deletions
|
|
@ -59,8 +59,7 @@ include_directories(
|
|||
${SOURCESDK}/public/game/server
|
||||
${SOURCESDK}/public/schemasystem
|
||||
${METAMOD_DIR}/core
|
||||
${METAMOD_DIR}/core/sourcehook
|
||||
vendor/khook/include
|
||||
${METAMOD_DIR}/third_party/khook/include
|
||||
vendor/spdlog/include
|
||||
vendor/nlohmann
|
||||
vendor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue