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/Thruster.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Stars45/Thruster.cpp') diff --git a/Stars45/Thruster.cpp b/Stars45/Thruster.cpp index db0c210..c3fbce6 100644 --- a/Stars45/Thruster.cpp +++ b/Stars45/Thruster.cpp @@ -198,7 +198,7 @@ Thruster::Orient(const Physical* rep) ThrusterPort* p = ports[i]; Point projector = (p->loc * orientation) + ship_loc; - + if (p->flare) p->flare->MoveTo(projector); @@ -324,11 +324,11 @@ Thruster::SetShip(Ship* s) roll_drag = design->roll_drag; pitch_drag = design->pitch_drag; yaw_drag = design->yaw_drag; - + roll_rate = (float) (design->roll_rate * PI / 180); pitch_rate = (float) (design->pitch_rate * PI / 180); yaw_rate = (float) (design->yaw_rate * PI / 180); - + double agility = design->agility; if (roll_rate == 0) roll_rate = (float) (agility * ROLL_SPEED); @@ -381,7 +381,7 @@ Thruster::ExecTrans(double x, double y, double z) if (ship->Rep() && ship->Rep()->Hidden()) show_flare = false; - if (ship->Class() == Ship::LCA && + if (ship->Class() == Ship::LCA && ship->IsAirborne() && ship->Velocity().length() < 250 && ship->AltitudeAGL() > ship->Radius()/2) { -- cgit v1.1