Fixed animation glitch when short-circuiting door animations
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@100 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -402,10 +402,12 @@ StartFinalPass:
|
||||
else if (AnyButtonPress (FALSE))
|
||||
{
|
||||
if (YankedStarShipPtr == 0)
|
||||
{
|
||||
AllDoorsFinished = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
pship_win_info->lfdoor_s.origin.x =
|
||||
pship_win_info->lfdoor_s.origin.x = 0;
|
||||
pship_win_info->rtdoor_s.origin.x = 0;
|
||||
AllDoorsFinished = TRUE;
|
||||
}
|
||||
@@ -424,7 +426,7 @@ StartFinalPass:
|
||||
ClearDrawable ();
|
||||
DrawStamp (&pship_win_info->ship_s);
|
||||
ShowShipCrew (pship_win_info->StarShipPtr, &r);
|
||||
if (!AllDoorsFinished)
|
||||
if (!AllDoorsFinished || YankedStarShipPtr)
|
||||
{
|
||||
DrawStamp (&pship_win_info->lfdoor_s);
|
||||
DrawStamp (&pship_win_info->rtdoor_s);
|
||||
|
||||
Reference in New Issue
Block a user