mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match CNetPlayer destructor
This commit is contained in:
@ -14,3 +14,9 @@ CNetPlayer::CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
CNetPlayer::~CNetPlayer()
|
||||
{
|
||||
SAFE_DELETE(m_pRemotePlayer);
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
@ -17,6 +17,7 @@ public:
|
||||
std::string m_PlayerName;
|
||||
|
||||
CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC);
|
||||
~CNetPlayer();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user