mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Update CNetGame ctor
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
|
||||
#include "../main.h"
|
||||
|
||||
extern CChatWindow *pChatWindow;
|
||||
|
||||
CNetGame::CNetGame(PCHAR szHostOrIp, int iPort,
|
||||
PCHAR szPlayerName, PCHAR szPass)
|
||||
{
|
||||
@ -13,8 +15,13 @@ CNetGame::CNetGame(PCHAR szHostOrIp, int iPort,
|
||||
strncpy(m_szHostOrIp, szHostOrIp, sizeof(m_szHostOrIp));
|
||||
m_iPort = iPort;
|
||||
|
||||
m_pRakClient = RakNetworkFactory::GetRakClientInterface();
|
||||
|
||||
|
||||
m_iGameState = GAMESTATE_WAIT_CONNECT;
|
||||
|
||||
if(pChatWindow) pChatWindow->AddDebugMessage("{FFFFFF}SA-MP {B9C9BF}0.3.7-R5 {FFFFFF}Started");
|
||||
|
||||
// TODO: CNetGame::CNetGame(...) .text:1000B930
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user