quanticc / lawena-recording-tool

Simple movie recording tool for Source Engine games
http://lawena.github.io/
GNU General Public License v3.0
80 stars 16 forks source link

change maximum value for cam_idealpitch #114

Closed ghost closed 6 years ago

ghost commented 6 years ago

Issue Summary

cam_idealpitch seems to now have a max value of 90

using numpad 0 a few too many times leads to incrementvar not being able to raise the value up to 360 and thus not able to go back down to 0

Steps to Reproduce

  1. Launch Lawena, launch TF2, load up any demo
  2. Press numpad + (KP_PLUS) to enter thirdperson mode
  3. Press numpad 0 (KP_INS) 4 times.

Pressing numpad 0 any number of times after this will not change the value of cam_idealpitch because incrementvar is unable to raise the value over 90.

Suggested fix

Change maximum in incrementvar statement from 360 to 90: 99b3d26e2d7eded2659ce9ea95ad14d9c43d7f1e

Technical details