Kill another non-special-system crash.
This commit is contained in:
@@ -1754,7 +1754,8 @@ GetNamedPlanetaryBody (void)
|
|||||||
|
|
||||||
assert (pSolarSysState->pOrbitalDesc != NULL);
|
assert (pSolarSysState->pOrbitalDesc != NULL);
|
||||||
|
|
||||||
if (!strcmp(CurStarDescPtr->supplement, "Sol"))
|
if( !CurStarDescPtr->supplement ) return NULL;
|
||||||
|
else if (!strcmp(CurStarDescPtr->supplement, "Sol"))
|
||||||
{ // Planets and moons in Sol
|
{ // Planets and moons in Sol
|
||||||
int planet;
|
int planet;
|
||||||
int moon;
|
int moon;
|
||||||
|
|||||||
Reference in New Issue
Block a user