From 742f64ac4c4d0e3bd96b61f22c9fc6f5ce3dee9c Mon Sep 17 00:00:00 2001 From: avolkov Date: Thu, 10 Dec 2009 08:50:35 +0000 Subject: [PATCH] Fixes devices menu after loading directly into planet orbit, broken by r3393 (planet rotation task removal) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3413 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/planets/planets.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sc2/src/uqm/planets/planets.c b/sc2/src/uqm/planets/planets.c index 8c5c836ce..83984755f 100644 --- a/sc2/src/uqm/planets/planets.c +++ b/sc2/src/uqm/planets/planets.c @@ -251,10 +251,10 @@ LoadPlanet (FRAME SurfDefFrame) assert (pSolarSysState->MenuState.Initialized == 2); ZoomInPlanetSphere (); - - // XXX: Mark as in-orbit. This should go away eventually - pSolarSysState->MenuState.Initialized = 3; } + + // XXX: Mark as in-orbit. This should go away eventually + pSolarSysState->MenuState.Initialized = 3; } void