summaryrefslogtreecommitdiffstats
path: root/src/ISURFACE_STATUS.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 13:26:33 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 13:26:33 +0100
commitd22bd8d184091e6a4600beb78eb279c2f5fab51b (patch)
treed2599374c611b56a5568f949b93e7fab2a93f6c8 /src/ISURFACE_STATUS.md
parentFix No spread on the hl2_complete server build (diff)
downloadhl2h-d22bd8d184091e6a4600beb78eb279c2f5fab51b.tar.gz
hl2h-d22bd8d184091e6a4600beb78eb279c2f5fab51b.zip
No spread: zero pellet offsets inside FireBullets
Picking the best of 256 pending seeds still leaves the shotgun's 8/12 pellets a few degrees apart. CShotManipulator::ApplySpread is inlined into CBaseEntity::FireBullets and draws x/y through the global CUniformRandomStream; hook its RandomFloat slot and return 0 when the calling frame's shooter is the local server player. This collapses every pellet onto the shot direction while NPC fire and client prediction keep their randomness.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions