diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 16:01:36 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 16:01:36 +0100 |
| commit | 606a5ca110574974861d31d35a10a53419c0e8c1 (patch) | |
| tree | 20d1bde49f1ee4930bffc97e72ba6075199fe6b4 /src/menu.cpp | |
| parent | Items: fallen owned weapons count as ammo; fuse diagnostics (diff) | |
| download | hl2h-606a5ca110574974861d31d35a10a53419c0e8c1.tar.gz hl2h-606a5ca110574974861d31d35a10a53419c0e8c1.zip | |
Fix overlay-vanishing projections; ammo rule via held weapons
- world_to_screen now rejects NaN/inf and absurd projections. A point on the
view axis (directly below the feet) could produce NaN and corrupt the
ISurface clip state, hiding the whole ESP for that frame.
- Draw projectile radius rings even when the projectile centre is off-screen
or behind the camera.
- Owner netvars are -1 on this client, so the "owned weapon -> ammo" rule now
accumulates the weapon types the player has actually held (active weapon,
server fallback), reset when the local entity changes.
Diffstat (limited to 'src/menu.cpp')
0 files changed, 0 insertions, 0 deletions
