Update README.md
This commit is contained in:
parent
2dabb9f29d
commit
841220dc96
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue