Kill another non-special-system crash.

This commit is contained in:
2024-05-03 04:10:29 -04:00
parent 8a9be277ae
commit 34acb34ed6
+2 -1
View File
@@ -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;