summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Thruster.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Thruster.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/Thruster.cpp')
-rw-r--r--Stars45/Thruster.cpp8
1 files changed, 4 insertions, 4 deletions
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) {