use a message to communicate credits line changes

This commit is contained in:
Glenn Maynard
2005-02-28 05:01:50 +00:00
parent 3a57d2559e
commit 7aef68aa7b
3 changed files with 20 additions and 7 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ void ScreenManager::ThemeChanged()
m_SystemLayer = new ScreenSystemLayer;
m_SystemLayer->Init();
m_SystemLayer->ReloadCreditsText();
m_SystemLayer->RefreshCreditsMessages();
this->RefreshCreditsMessages();
}
void ScreenManager::EmptyDeleteQueue()
@@ -533,7 +533,7 @@ void ScreenManager::SystemMessageNoAnimate( const CString &sMessage )
void ScreenManager::RefreshCreditsMessages()
{
m_SystemLayer->RefreshCreditsMessages();
MESSAGEMAN->Broadcast( "RefreshCreditText" );
/* This is called when GAMESTATE->m_bSideIsJoined changes. */
CString joined;