p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
https://sar.portal2.sr/
MIT License
94 stars 32 forks source link

Fix analog move going out of the unit circle. #59

Closed RainbowwPhoenixx closed 2 years ago

RainbowwPhoenixx commented 2 years ago

Due to the implementation of nopitchlock, the move analog y was able to go outside of the normal range of controller inputs, mostly visible on the ihud. By clamping the move analog, this is prevented. Thankfully this doesn't break any TASses since the input was clamped server side.