diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/FlightComp.cpp | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/FlightComp.cpp')
-rw-r--r-- | Stars45/FlightComp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |