summaryrefslogtreecommitdiffstats
path: root/src/hooks.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 16:18:21 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 16:18:21 +0100
commitc803fd1f425e7ea8e78f83afd481e58326fb1610 (patch)
treedbb69170330efdd497b984962d1c46a4105d7d1d /src/hooks.cpp
parentItems: hide full ammo pickups; robust close-target projection (diff)
downloadhl2h-c803fd1f425e7ea8e78f83afd481e58326fb1610.tar.gz
hl2h-c803fd1f425e7ea8e78f83afd481e58326fb1610.zip
Netvars: handle RecvPropArray3 array props
m_iAmmo and m_hMyWeapons were not resolving (both -1). Array props keep their element descriptor in m_pArrayProp and its offset can hold the array base; the walker was also treating a non-null m_pDataTable on an array as a nested table and skipping the name match. Process array props by name, use the element offset when present, and log the first 16 array props under HL2H_DEBUG.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions