Skip to content

Commit

Permalink
Fix erroneous gravity test and debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine committed Jul 2, 2023
1 parent bb56ede commit 9c2da0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/galaxy/StarSystemGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1537,9 +1537,9 @@ void PopulateStarSystemGenerator::PopulateAddStations(SystemBody *sbody, StarSys
++NumToMake;
pop -= rand.Fixed();
}
if ((NumToMake == 0) and (sbody->CalcSurfaceGravity() > 1.05)) {
if ((NumToMake == 0) and (sbody->CalcSurfaceGravity() > 10.5)) { // 10.5 m/s2 = 1,07 g
NumToMake = 1;
printf("Station created around %s\n", sbody->GetName().c_str());
printf("Station created in %s around %s\n", system->GetName().c_str(), sbody->GetName().c_str());
}

// Any to position?
Expand Down

0 comments on commit 9c2da0c

Please sign in to comment.