[saco] Call CChatWindow::AddChatMessage from FUNC_10017610 and drop the duplicate FUNC_10068020 declaration

This commit is contained in:
ricardoofnl
2026-09-05 10:07:28 +07:00
parent 662270a17a
commit f39b2c3da9
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -88,8 +88,6 @@ public:
int AddDebugMessage(CHAR *szFormat, ...);
int FUNC_10068020(char *szName, int iColor, char *szText); // .text:10068020
void AddInfoMessage(CHAR *szFormat, ...); // .text:10068070
void AddClientMessage(DWORD dwColor, CHAR *szMessage); // .text:10068170
+1 -1
View File
@@ -271,7 +271,7 @@ int CRemotePlayer::FUNC_10016330()
void CRemotePlayer::FUNC_10017610(char *szText)
{
CPlayerPool *pPlayerPool = pNetGame->GetPlayerPool();
pChatWindow->FUNC_10068020(pPlayerPool->GetPlayerName(m_PlayerID),
pChatWindow->AddChatMessage(pPlayerPool->GetPlayerName(m_PlayerID),
(TranslateColorCodeToRGBA(m_PlayerID) >> 8) | 0xFF000000, szText);
}