Skip to content

Commit

Permalink
Fix bug 924
Browse files Browse the repository at this point in the history
  • Loading branch information
royfalk committed Dec 5, 2024
1 parent 4ac74e8 commit a1a6c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/src/components/drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ void Drive::Load(std::string upgrade_key,
void Drive::SaveToCSV(std::map<std::string, std::string>& unit) const {
static const double game_speed = configuration()->physics_config.game_speed;
static const double game_accel = configuration()->physics_config.game_accel;
static const double game_accel_speed = game_speed * game_accel;
const double to_degrees = 180 / M_PI;
static const double game_accel_speed = 1/ (game_speed * game_accel);
const double to_degrees = M_PI / 180;
unit["Maneuver_Yaw"] = yaw.Serialize(to_degrees);
unit["Maneuver_Pitch"] = pitch.Serialize(to_degrees);
unit["Maneuver_Roll"] = roll.Serialize(to_degrees);
Expand Down

0 comments on commit a1a6c42

Please sign in to comment.