Skip to content

Commit

Permalink
Fixing stuff and things
Browse files Browse the repository at this point in the history
  • Loading branch information
oznogon committed Jan 17, 2020
1 parent 537e149 commit e99f18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screenComponents/rawScannerDataRadarOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void RawScannerDataRadarOverlay::onDraw(sf::RenderTarget& window)
{
// Elevate electrical after a jump, since recharging jump
// consumes energy.
signature_delta.electrical += std::max(0.0f, this_ship->getSystemPower(this_system) * (this_ship->jump_drive_charge + 0.01f / this_ship->jump_drive_max_distance);
signature_delta.electrical += std::max(0.0f, this_ship->getSystemPower(this_system) * (this_ship->jump_drive_charge + 0.01f / this_ship->jump_drive_max_distance));
}else{
signature_delta.electrical += std::max(-1.0f, this_ship->getSystemPower(this_system) - 1.0f);
}
Expand Down

0 comments on commit e99f18b

Please sign in to comment.