This commit is contained in:
2018-03-23 16:10:40 -05:00
parent c9126987fe
commit 79f5dba4db

View File

@@ -80,6 +80,7 @@ class IMICFPS
@render_pitch-=Float(@true_mouse.y-self.mouse_y)/(@mouse_sensitivity*@field_of_view)*70 #unless @game_object @render_pitch-=Float(@true_mouse.y-self.mouse_y)/(@mouse_sensitivity*@field_of_view)*70 #unless @game_object
@yaw %= 360.0 @yaw %= 360.0
@render_pitch = @render_pitch.clamp(-90.0, 90.0)
@pitch = @pitch.clamp(-90.0, 90.0) @pitch = @pitch.clamp(-90.0, 90.0)
else else
@true_mouse_checked+=1 @true_mouse_checked+=1