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/ShipCtrl.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/ShipCtrl.cpp')
-rw-r--r-- | Stars45/ShipCtrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/ShipCtrl.cpp b/Stars45/ShipCtrl.cpp index 64a310b..edd061c 100644 --- a/Stars45/ShipCtrl.cpp +++ b/Stars45/ShipCtrl.cpp @@ -141,7 +141,7 @@ ShipCtrl::ExecFrame(double seconds) if (throttle_active) { ship->SetThrottle(controller->Throttle() * 100); - if (controller->Throttle() >= 0.99) + if (controller->Throttle() >= 0.99) augmenter = true; } else if (!launch_latch || controller->Throttle() > 0.5) { @@ -163,7 +163,7 @@ ShipCtrl::ExecFrame(double seconds) ship->SetThrottle(ship->Throttle() + DELTA_THROTTLE); time_til_change = 0.05; } - + else if (KeyDown(KEY_THROTTLE_DOWN)) { ship->SetThrottle(ship->Throttle() - DELTA_THROTTLE); time_til_change = 0.05; |