diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 13:38:57 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 13:38:57 +0100 |
| commit | e56d5ae8a472bde580de5704f59bbc0f74a6824f (patch) | |
| tree | 41569c24cf3f98eca711646d896d25c064ec2911 /src/studio.cpp | |
| parent | No spread: zero pellet offsets inside FireBullets (diff) | |
| download | hl2h-e56d5ae8a472bde580de5704f59bbc0f74a6824f.tar.gz hl2h-e56d5ae8a472bde580de5704f59bbc0f74a6824f.zip | |
No spread: detect pellet draws from the FireBullets seed call
The ApplySpread random draws are not guaranteed to run in the player's frame
(the compiler can outline them), so the frame-based shooter check missed and
the shotgun kept its seed-minimised spread. The player's FireBullets
RandomSeed call now arms a short 8-draw window; the next RandomFloat draws
return 0. Keep the frame check as the other path. Remove the diagnostics used
to find this.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
