Make the announcement themeable.

This commit is contained in:
Steve Checkoway
2007-04-07 13:02:12 +00:00
parent 0e219a16aa
commit 579e7e45cb
+3 -1
View File
@@ -2,7 +2,9 @@
#include "ScreenCredits.h"
#include "GameSoundManager.h"
#include "AnnouncerManager.h"
#include "ThemeManager.h"
#define ANNOUNCE THEME->GetMetric( m_sName,"Announce" )
REGISTER_SCREEN_CLASS( ScreenCredits );
@@ -10,7 +12,7 @@ void ScreenCredits::BeginScreen()
{
ScreenAttract::BeginScreen();
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("credits") );
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ANNOUNCE) );
}
/*