mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Call CChatWindow::AddChatMessage from FUNC_10017610 and drop the duplicate FUNC_10068020 declaration
This commit is contained in:
@@ -88,8 +88,6 @@ public:
|
|||||||
|
|
||||||
int AddDebugMessage(CHAR *szFormat, ...);
|
int AddDebugMessage(CHAR *szFormat, ...);
|
||||||
|
|
||||||
int FUNC_10068020(char *szName, int iColor, char *szText); // .text:10068020
|
|
||||||
|
|
||||||
void AddInfoMessage(CHAR *szFormat, ...); // .text:10068070
|
void AddInfoMessage(CHAR *szFormat, ...); // .text:10068070
|
||||||
|
|
||||||
void AddClientMessage(DWORD dwColor, CHAR *szMessage); // .text:10068170
|
void AddClientMessage(DWORD dwColor, CHAR *szMessage); // .text:10068170
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ int CRemotePlayer::FUNC_10016330()
|
|||||||
void CRemotePlayer::FUNC_10017610(char *szText)
|
void CRemotePlayer::FUNC_10017610(char *szText)
|
||||||
{
|
{
|
||||||
CPlayerPool *pPlayerPool = pNetGame->GetPlayerPool();
|
CPlayerPool *pPlayerPool = pNetGame->GetPlayerPool();
|
||||||
pChatWindow->FUNC_10068020(pPlayerPool->GetPlayerName(m_PlayerID),
|
pChatWindow->AddChatMessage(pPlayerPool->GetPlayerName(m_PlayerID),
|
||||||
(TranslateColorCodeToRGBA(m_PlayerID) >> 8) | 0xFF000000, szText);
|
(TranslateColorCodeToRGBA(m_PlayerID) >> 8) | 0xFF000000, szText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user