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/Sensor.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/Sensor.cpp')
-rw-r--r-- | Stars45/Sensor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/Sensor.cpp b/Stars45/Sensor.cpp index 165d80c..9c90818 100644 --- a/Stars45/Sensor.cpp +++ b/Stars45/Sensor.cpp @@ -74,7 +74,7 @@ nsettings(0), range_index(0) // +----------------------------------------------------------------------+ Sensor::Sensor(const Sensor& s) -: System(s), mode(STD), target(0), +: System(s), mode(STD), target(0), nsettings(s.nsettings), range_index(0) { Mount(s); @@ -162,7 +162,7 @@ Sensor::SetMode(Mode m) if (m <= GM) { if (ship) ship->DropTarget(); - + Ignore(target); target = 0; } @@ -427,7 +427,7 @@ Sensor::ProcessContact(Ship* c_ship, double az1, double az2) double max_range = probe->Design()->lethal_radius; d_act = c_ship->ACS() * (1 - min_range/max_range); } - + else if (mode != PAS && mode != PST) { double max_range = sensor_range; d_act = c_ship->ACS() * effectivity * (1 - min_range/max_range); |