mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement/match CNewPlayerTags destructor
This commit is contained in:
@@ -10,6 +10,12 @@ CNewPlayerTags::CNewPlayerTags(IDirect3DDevice9* pDevice)
|
||||
D3DXCreateSprite(pDevice, &m_pSprite);
|
||||
}
|
||||
|
||||
CNewPlayerTags::~CNewPlayerTags()
|
||||
{
|
||||
if(m_pStates) m_pStates->Release();
|
||||
SAFE_DELETE(m_pSprite);
|
||||
}
|
||||
|
||||
void CNewPlayerTags::RestoreDeviceObjects()
|
||||
{
|
||||
if(m_pSprite)
|
||||
|
||||
@@ -10,6 +10,7 @@ private:
|
||||
|
||||
public:
|
||||
CNewPlayerTags(IDirect3DDevice9* pDevice);
|
||||
~CNewPlayerTags();
|
||||
|
||||
void RestoreDeviceObjects();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user