summaryrefslogtreecommitdiffstats
path: root/docs/adr
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-05 20:32:59 +0100
committersalmonik <salmonik@tuta.io>2026-11-05 20:32:59 +0100
commit57b53d579f32f094c1cdefad62a6224baf270e0d (patch)
tree67b335b8ac0933078628c0e7b746a4bb253533fd /docs/adr
parentItems: keep health chargers visible, add charger diagnostics (diff)
downloadhl2h-57b53d579f32f094c1cdefad62a6224baf270e0d.tar.gz
hl2h-57b53d579f32f094c1cdefad62a6224baf270e0d.zip
Items: server ammo counts and frag-grenade type
- local_ammo now prefers the authoritative server m_iAmmo array (header skip) and only falls back to the client netvar array. The client offset can be off by an element, which made "full" checks flicker as other ammo was spent. - Frag grenade pickups were falling through to a generic "Ammo" label with ammo_type=-1, so the usable filter never ran. w_grenade/w_frag/ items/grenade/frag_grenade are now "Frag grenade" and map to m_iAmmo[11] (sk_max_grenade, stock 5); AR2/SMG1 grenade variants map to m_iAmmo[8].
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions