summaryrefslogtreecommitdiffstats
path: root/docs/adr
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 15:32:26 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 15:32:26 +0100
commit902507c1173a03a04fc49cfe421bc3c3fb49d8fb (patch)
tree433cae8017464b2fb8f7ed92be8d894db521be38 /docs/adr
parentSpread control: client-seed no-spread (diff)
downloadhl2h-902507c1173a03a04fc49cfe421bc3c3fb49d8fb.tar.gz
hl2h-902507c1173a03a04fc49cfe421bc3c3fb49d8fb.zip
Spread control: set random_seed after CInput::CreateMove
CInput::CreateMove overwrites cmd->random_seed with MD5_PseudoRandom after CHLClient::CreateMove returns, so the seed set from the client-mode hook was being discarded. Hook the IInput vtable slot 3 (CInput::CreateMove), call the original, then apply the spread seed and update the verified command copy and CRC. This also keeps all aim/movement edits since the original copies the command into the verified table.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions