summaryrefslogtreecommitdiffstats
path: root/src/combat.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-03 22:33:56 +0100
committersalmonik <salmonik@tuta.io>2026-11-03 22:33:56 +0100
commit1ce7a7d3862bed06e27ffbafb92dac6a26bfba7b (patch)
treef8ddbc02cb6ccf7a069197612467a327c206a87a /src/combat.cpp
parentWorld: add Fullbright visual feature (diff)
downloadhl2h-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/combat.cpp')
0 files changed, 0 insertions, 0 deletions