[ScreenInstallOverlay] Added bare DownloadFinished message.

This commit is contained in:
AJ Kelly
2010-12-29 17:02:30 -06:00
parent 13ca90ff3f
commit a88f42beba
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ sm-ssc v1.2 | 201012xx
* [ScreenHowToPlay] Replaced LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND macro
calls with ActorUtil::LoadAllCommandsAndSetXY(). Fixes an odd bug I ran into
during the porting of DDR 5th Mix. [freem]
* [ScreenInstallOverlay] Added bare DownloadFinished message. [freem]
20101228
--------
+5 -2
View File
@@ -248,11 +248,14 @@ public:
}
break;
}
bool bFinsihed = m_DownloadState == packages &&
bool bFinished = m_DownloadState == packages &&
m_vsQueuedPackageUrls.empty() &&
m_pTransfer == NULL;
if( bFinsihed )
if( bFinished )
{
Message msg( "DownloadFinished" );
MESSAGEMAN->Broadcast(msg);
playAfterLaunchInfo = m_playAfterLaunchInfo;
return true;
}