Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Michal Přikryl 2026-06-11 16:07:53 +02:00
commit 055195f363

View file

@ -10,7 +10,7 @@ plugins**
`Ray-Trace` is a lightweight **Metamod interface module** for\ `Ray-Trace` is a lightweight **Metamod interface module** for\
**Counter-Strike 2** servers. **Counter-Strike 2** servers.
It exposes a shared interface: `CRayTraceInterface001` which can be It exposes a shared interface: `CRayTraceInterface002` which can be
consumed from: consumed from:
- Native **Metamod C++ plugins** - Native **Metamod C++ plugins**
@ -27,7 +27,7 @@ worlds without duplicating engine detours.
## Features ## Features
- Metamod meta interface (`CRayTraceInterface001`) - Metamod meta interface (`CRayTraceInterface002`)
- Works in **C++ and C#** - Works in **C++ and C#**
- Physics / hitbox / world trace presets - Physics / hitbox / world trace presets
- Custom collision masks - Custom collision masks
@ -105,7 +105,7 @@ bool LoadRayTrace()
int iRet = 0; int iRet = 0;
g_pRayTrace = static_cast<CRayTraceInterface*>( g_pRayTrace = static_cast<CRayTraceInterface*>(
g_SMAPI->MetaFactory("CRayTraceInterface001", &iRet, nullptr) g_SMAPI->MetaFactory(RAYTRACE_INTERFACE_VERSION, &iRet, nullptr)
); );
if (iRet == META_IFACE_FAILED || !g_pRayTrace) if (iRet == META_IFACE_FAILED || !g_pRayTrace)