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:
@@ -93,6 +93,7 @@ RenderTopography (BOOLEAN Reconstruct)
|
||||
pSolarSysState->PlanetFrameArray[2], 1
|
||||
);
|
||||
#endif
|
||||
s.frame = pSolarSysState->TopoFrame;
|
||||
DrawStamp (&s);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user