diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 15:32:26 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 15:32:26 +0100 |
| commit | 902507c1173a03a04fc49cfe421bc3c3fb49d8fb (patch) | |
| tree | 433cae8017464b2fb8f7ed92be8d894db521be38 /play.sh | |
| parent | Spread control: client-seed no-spread (diff) | |
| download | hl2h-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
