Full screen transitions do not need to specify a rect
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3423 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -719,15 +719,7 @@ DoOutfit (MENU_STATE *pMS)
|
||||
DrawFlagshipStats ();
|
||||
UnlockMutex (GraphicsLock);
|
||||
|
||||
{
|
||||
RECT r;
|
||||
|
||||
r.corner.x = 0;
|
||||
r.corner.y = 0;
|
||||
r.extent.width = SCREEN_WIDTH;
|
||||
r.extent.height = SCREEN_HEIGHT;
|
||||
ScreenTransition (3, &r);
|
||||
}
|
||||
ScreenTransition (3, NULL);
|
||||
PlayMusic (pMS->hMusic, TRUE, 1);
|
||||
UnbatchGraphics ();
|
||||
|
||||
|
||||
@@ -331,15 +331,7 @@ DoStarBase (MENU_STATE *pMS)
|
||||
ClearDrawable ();
|
||||
rotateStarbase (pMS, pMS->CurFrame);
|
||||
DrawBaseStateStrings ((STARBASE_STATE)~0, pMS->CurState);
|
||||
{
|
||||
RECT r;
|
||||
|
||||
r.corner.x = 0;
|
||||
r.corner.y = 0;
|
||||
r.extent.width = SCREEN_WIDTH;
|
||||
r.extent.height = SCREEN_HEIGHT;
|
||||
ScreenTransition (3, &r);
|
||||
}
|
||||
ScreenTransition (3, NULL);
|
||||
PlayMusic (pMS->hMusic, TRUE, 1);
|
||||
UnbatchGraphics ();
|
||||
UnlockMutex (GraphicsLock);
|
||||
|
||||
Reference in New Issue
Block a user