I don't know that modify source, where change to can not display announcement, only the chat window there, wanted someone to tell me which document problems!
I do not know where to lead this change, my source, before or normalQuote:
If English isn't your native language then please write it again in your native language.
void CDPClient::OnSystem( CAr & ar )
void CDPClient::OnSystem( CAr & ar )
{
CHAR lpString[512];
ar.ReadString( lpString, 512 );
CString str;
str.Format( prj.GetText(TID_ADMIN_ANNOUNCE), lpString ); // [¾Ë¸²] %s
g_WndMng.PutString( str, NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
if( ::GetLanguage() != LANG_GER && ::GetLanguage() != LANG_FRE )
{
CWndWorld* pWndWorld = (CWndWorld*)g_WndMng.GetWndBase( APP_WORLD );
if( pWndWorld )
g_Caption1.AddCaption( str, pWndWorld->m_pFontAPITitle, FALSE, D3DCOLOR_ARGB( 255, 255, 255, 153 ) );
}
}
void CDPClient::OnSystem( CAr & ar )
{
CHAR lpString[512];
ar.ReadString( lpString, 512 );
CString str;
str.Format( prj.GetText(TID_ADMIN_ANNOUNCE), lpString ); // [¾Ë¸²] %s
g_WndMng.PutString( str, NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
CWndWorld* pWndWorld = (CWndWorld*)g_WndMng.GetWndBase( APP_WORLD );
if( pWndWorld )
g_Caption1.AddCaption( str, pWndWorld->m_pFontAPITitle, FALSE, D3DCOLOR_ARGB( 255, 255, 255, 153 ) );
}