fixed the switch game type bug

This commit is contained in:
Bruno Figueiredo
2002-07-28 16:55:31 +00:00
parent e3ae5f84f5
commit 854cc0c732
+1 -1
View File
@@ -73,7 +73,7 @@ CString AnnouncerManager::GetAnnouncerDirFromName( CString sAnnouncerName )
void AnnouncerManager::SwitchAnnouncer( CString sNewAnnouncerName )
{
if( sNewAnnouncerName != "" )
if( sNewAnnouncerName == "" )
m_sCurAnnouncerName = "";
else if( !DoesAnnouncerExist(sNewAnnouncerName) )
m_sCurAnnouncerName = "";