diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-28 12:12:33 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-28 12:12:33 +0100 |
| commit | a6f1e039ce988cf139c52d7853e96dc8496fb806 (patch) | |
| tree | 731021e0a401e08ddb8b1b5f4bc9adb589efc859 /src/server.cpp | |
| parent | Item ESP: fix AR2/RPG/stunstick world-model names (diff) | |
| download | hl2h-a6f1e039ce988cf139c52d7853e96dc8496fb806.tar.gz hl2h-a6f1e039ce988cf139c52d7853e96dc8496fb806.zip | |
Item ESP: recover CPhysicsProp model names from the server
Client CPhysicsProp entities frequently report m_nModelIndex == 0, so item
crates appeared as model=? and were never classified. Fall back to the
server entity's m_nModelIndex (set in CItem_ItemCrate::Spawn) when the client
model index is missing, then resolve the name through the shared modelinfo.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
