Crash during loading from orbit, starmap issue when orbiting earth fixed,

from PhracturedBlue


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@379 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-08 20:47:22 +00:00
parent cafba369eb
commit e23384c85c
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -93,6 +93,7 @@ RenderTopography (BOOLEAN Reconstruct)
pSolarSysState->PlanetFrameArray[2], 1
);
#endif
s.frame = pSolarSysState->TopoFrame;
DrawStamp (&s);
}
else
+3 -1
View File
@@ -1223,15 +1223,17 @@ DoFlagshipCommands (INPUT_STATE InputState, PMENU_STATE pMS)
if (LOBYTE (GLOBAL(CurrentActivity)) == IN_INTERPLANETARY)
{
SetSemaphore(GraphicsSem);
ClearSISRect(DRAW_SIS_DISPLAY);
ClearSemaphore(GraphicsSem);
DrawSISFrame();
SetSemaphore(GraphicsSem);
RepairSISBorder();
DrawSISMessage(NULL_PTR);
DrawSISTitle(GLOBAL_SIS(PlanetName));
DrawStarBackGround(TRUE);
OldContext = SetContext(SpaceContext);
SetContextDrawState(DEST_PIXMAP | DRAW_REPLACE);
SetSemaphore(GraphicsSem);
BatchGraphics();
DrawPlanet(SIS_SCREEN_WIDTH - MAP_WIDTH, SIS_SCREEN_HEIGHT - MAP_HEIGHT, 0, 0);
UnbatchGraphics();