PhracturedBlue's planet code fixes

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@407 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-12 00:53:26 +00:00
parent f4884aa585
commit d01e9f44ed
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -260,6 +260,7 @@ FreePlanet (void)
pSolarSysState->SysInfo.PlanetInfo.LanderFont
));
pSolarSysState->SysInfo.PlanetInfo.LanderFont = 0;
pSolarSysState->PauseRotate = 0;
ClearSemaphore (GraphicsSem);
}
+4 -1
View File
@@ -1248,8 +1248,10 @@ DoFlagshipCommands (INPUT_STATE InputState, PMENU_STATE pMS)
BOOLEAN AutoPilotSet;
SetSemaphore (GraphicsSem);
if (++pMS->Initialized > 3)
if (++pMS->Initialized > 3) {
pSolarSysState->PauseRotate = 1;
RepairSISBorder ();
}
AutoPilotSet = DoStarMap ();
@@ -1270,6 +1272,7 @@ DoFlagshipCommands (INPUT_STATE InputState, PMENU_STATE pMS)
{
LoadPlanet (FALSE);
--pMS->Initialized;
pSolarSysState->PauseRotate = 0;
SetSemaphore (GraphicsSem);
SetFlashRect ((PRECT)~0L, (FRAME)0);
ClearSemaphore (GraphicsSem);