From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/FlightComp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Stars45/FlightComp.cpp') diff --git a/Stars45/FlightComp.cpp b/Stars45/FlightComp.cpp index a5fc818..d2eb45c 100644 --- a/Stars45/FlightComp.cpp +++ b/Stars45/FlightComp.cpp @@ -46,7 +46,7 @@ FlightComp::FlightComp(int comp_type, const char* comp_name) : Computer(comp_type, comp_name), mode(0), vlimit(0.0f), -trans_x_limit(0.0f), trans_y_limit(0.0f), trans_z_limit(0.0f), +trans_x_limit(0.0f), trans_y_limit(0.0f), trans_z_limit(0.0f), throttle(0.0f), halt(0) { } @@ -54,7 +54,7 @@ throttle(0.0f), halt(0) FlightComp::FlightComp(const Computer& c) : Computer(c), mode(0), vlimit(0.0f), -trans_x_limit(0.0f), trans_y_limit(0.0f), trans_z_limit(0.0f), +trans_x_limit(0.0f), trans_y_limit(0.0f), trans_z_limit(0.0f), throttle(0.0f), halt(0) { } @@ -240,8 +240,8 @@ FlightComp::ExecTrans() if (current_bank < 0 && desired_bank < 0 || current_bank > 0 && desired_bank > 0) { - double coord_pitch = compass_pitch - - ship->GetHelmPitch() + double coord_pitch = compass_pitch + - ship->GetHelmPitch() - fabs(helm) * fabs(current_bank); ship->ApplyPitch(coord_pitch); } -- cgit v1.1