Kill another non-special-system crash.
This commit is contained in:
@@ -1754,7 +1754,8 @@ GetNamedPlanetaryBody (void)
|
||||
|
||||
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
|
||||
int planet;
|
||||
int moon;
|
||||
|
||||
Reference in New Issue
Block a user