Added comment

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1854 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-08-13 15:26:47 +00:00
parent afaf467bf9
commit e6be58a509
+8
View File
@@ -156,6 +156,14 @@ GeneratePlanetComposition (PLANET_INFOPTR PlanetInfoPtr, SIZE
}
}
// This function is called both when the solar system is generated,
// and when planetary orbit is entered.
// In the former case, the if() block will not be executed,
// which means that the temperature calculated in that case will be
// slightly lower. The result is that the orbits may not always
// have the colour you'd expect based on the true temperature.
// (eg. Beta Corvi I). I don't know what the idea behind this is,
// but the if statement must be there for a reason. -- SvdB
static SIZE
CalcTemp (SYSTEM_INFOPTR SysInfoPtr, SIZE radius)
{