diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-03 22:33:56 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-03 22:33:56 +0100 |
| commit | 1ce7a7d3862bed06e27ffbafb92dac6a26bfba7b (patch) | |
| tree | f8ddbc02cb6ccf7a069197612467a327c206a87a /src/features.h | |
| parent | World: add Fullbright visual feature (diff) | |
| download | hl2h-1ce7a7d3862bed06e27ffbafb92dac6a26bfba7b.tar.gz hl2h-1ce7a7d3862bed06e27ffbafb92dac6a26bfba7b.zip | |
Fix startup crash: use ClientCmd for fullbright; sanitize owner netvars
- Poking VEngineCvar004/ConVar vtables directly crashed before the main menu
(ConVar uses a secondary IConVar vtable). Use the stable IVEngineClient
ClientCmd slot 7 for mat_fullbright instead.
- Reject out-of-range m_hOwnerEntity/m_hOwner offsets: the resolver found a
bogus negative owner offset (-136296061), which could make item-ESP weapon
ownership read wild memory.
Diffstat (limited to 'src/features.h')
0 files changed, 0 insertions, 0 deletions
