Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make mining populations a bit more likely near Sol

  • Loading branch information...
commit e81064a9c99eab384de8f0553f864ec5430ac404 1 parent 311cf76
Ziusudra authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/StarSystem.cpp
View
4 src/StarSystem.cpp
@@ -1853,8 +1853,8 @@ void SBody::PopulateStage1(StarSystem *system, fixed &outTotalPop)
system->m_agricultural += 1*m_agricultural;
} else {
// don't bother populating crap planets
- // XXX this should maybe consider m_humanProx
- if (m_metallicity < fixed(5,10)) return;
+ if (m_metallicity < fixed(5,10) &&
+ m_metallicity < (fixed(1,1) - system->m_humanProx)) return;
}
const int NUM_CONSUMABLES = 10;
Please sign in to comment.
Something went wrong with that request. Please try again.