Skip to content

Commit bbca518

Browse files
authored
no chase cam slewing during hyperspace (#3620)
1 parent bb28c37 commit bbca518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

freespace2/freespace.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3141,7 +3141,8 @@ camid game_render_frame_setup()
31413141

31423142
vec3d old_pos;
31433143
main_cam->get_info(&old_pos, nullptr);
3144-
if (camera_cut)
3144+
bool hyperspace = (Player_ship->flags[Ship::Ship_Flags::Depart_warp] && Warp_params[Player_ship->warpout_params_index].warp_type == WT_HYPERSPACE);
3145+
if (camera_cut || hyperspace)
31453146
old_pos = eye_pos;
31463147

31473148
// "push" the camera backwards in the direction of its old position based on acceleration to to make it

0 commit comments

Comments
 (0)