mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CNetPlayer destructor
This commit is contained in:
parent
fedba35897
commit
9e596ad32a
@ -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;
|
std::string m_PlayerName;
|
||||||
|
|
||||||
CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC);
|
CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC);
|
||||||
|
~CNetPlayer();
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user