[Fix] Just a few small fixes.
This commit is contained in:
parent
4f992dd0ce
commit
7a48e570dd
@ -7,7 +7,6 @@
|
||||
class Frame;
|
||||
class Body;
|
||||
class StarSystem;
|
||||
class StarSystem::SBody;
|
||||
|
||||
namespace Serializer {
|
||||
void IndexFrames(void);
|
||||
|
@ -71,11 +71,10 @@ void Space::Clear(void) {
|
||||
}
|
||||
PruneCorpses();
|
||||
|
||||
L3D::player->SetFrame(rootFrame);
|
||||
for(std::list<Frame*>::iterator i = rootFrame->m_children.begin();
|
||||
i != rootFrame->m_children.end(); ++i) delete *i;
|
||||
rootFrame->m_children.clear();
|
||||
|
||||
L3D::player->SetFrame(rootFrame);
|
||||
}
|
||||
|
||||
void Space::MoveOrbitingObjectFrames(Frame* f) {
|
||||
|
@ -837,12 +837,12 @@ void StarSystem::SBody::PickPlanetType(StarSystem* system, SBody* star, const fi
|
||||
}
|
||||
/* Starports - surface. */
|
||||
if((averageTemp < CELSIUS+80) && (averageTemp > 100) &&
|
||||
(type == TYPE_PLANET_DWARF) ||
|
||||
((type == TYPE_PLANET_DWARF) ||
|
||||
(type == TYPE_PLANET_SMALL) ||
|
||||
(type == TYPE_PLANET_WATER) ||
|
||||
(type == TYPE_PLANET_CO2) ||
|
||||
(type == TYPE_PLANET_METHANE) ||
|
||||
(type == TYPE_PLANET_INDIGENOUS_LIFE)) {
|
||||
(type == TYPE_PLANET_INDIGENOUS_LIFE))) {
|
||||
|
||||
fixed activ = humanActivity;
|
||||
if(type == TYPE_PLANET_INDIGENOUS_LIFE) humanActivity *= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user