From a85332a4f63ec6a59aad40b53c6a358c66e8d315 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Thu, 8 Oct 2009 19:37:07 +0000 Subject: [PATCH] Cleanup. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3202 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/genspa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/planets/genspa.c b/sc2/src/sc2code/planets/genspa.c index 320e49c5b..a723fc93e 100644 --- a/sc2/src/sc2code/planets/genspa.c +++ b/sc2/src/sc2code/planets/genspa.c @@ -97,9 +97,9 @@ GenerateSpathi (BYTE control) PLANET_DESC *pMinPlanet; pMinPlanet = &pSolarSysState->PlanetDesc[0]; + pSolarSysState->SunDesc[0].NumPlanets = 1; FillOrbits (pSolarSysState, - pSolarSysState->SunDesc[0].NumPlanets = 1, pMinPlanet, - FALSE); + pSolarSysState->SunDesc[0].NumPlanets, pMinPlanet, FALSE); pMinPlanet->radius = EARTH_RADIUS * 1150L / 100; angle = ARCTAN (pMinPlanet->location.x, pMinPlanet->location.y);