fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

fix camera shudder

Open Goober5000 opened this issue 4 months ago • 0 comments

The enhanced controls and flags in #4552 were intended to allow the camera to shudder in all views, not just the cockpit view. And indeed, the shudder does apply in all other views... except for cutscene cameras, due to the VM_FREECAMERA check in game_render_frame(). So, add a separate check for cutscene cameras when shuddering everywhere. The cutscene camera can be jittered just like the cockpit camera, but the rotation should not be modified or it will produce feedback.

Follow-up to #4552. Also removes an unused variable that was made obsolete in #5656.

Goober5000 avatar Oct 14 '24 04:10 Goober5000