[saco] Implement/match CNetPlayer constructor

This commit is contained in:
RD42
2024-10-20 15:41:16 +08:00
parent 5e46ec5702
commit fedba35897
2 changed files with 16 additions and 0 deletions

View File

@ -1,2 +1,16 @@
#include "../main.h"
//----------------------------------------------------
CNetPlayer::CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC)
{
m_bIsNPC = bIsNPC;
field_C = 0;
field_4 = 0;
m_PlayerName = szPlayerName;
m_pRemotePlayer = new CRemotePlayer();
}
//----------------------------------------------------

View File

@ -15,6 +15,8 @@ public:
int field_C;
CRemotePlayer *m_pRemotePlayer;
std::string m_PlayerName;
CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC);
};
//----------------------------------------------------