diff --git a/saco/newplayertags.cpp b/saco/newplayertags.cpp index 3a5aa78..d1595e5 100644 --- a/saco/newplayertags.cpp +++ b/saco/newplayertags.cpp @@ -76,6 +76,19 @@ void CNewPlayerTags::End() m_pStates->Apply(); } +// the nametag pass brackets its batch with these two instead of Begin/End +void CNewPlayerTags::FUNC_1006CD80() +{ + if(m_pSprite) + m_pSprite->Begin(D3DXSPRITE_ALPHABLEND); +} + +void CNewPlayerTags::FUNC_1006CD90() +{ + if(m_pSprite) + m_pSprite->End(); +} + void CNewPlayerTags::DeleteDeviceObjects() { SAFE_RELEASE(m_pStates); diff --git a/saco/newplayertags.h b/saco/newplayertags.h index 3cfa273..908339e 100644 --- a/saco/newplayertags.h +++ b/saco/newplayertags.h @@ -25,6 +25,8 @@ public: void Begin(); void End(); + void FUNC_1006CD80(); + void FUNC_1006CD90(); void Draw(D3DXVECTOR3* pPlayerPos, float fHealth, float fArmor, float fDistanceFromLocalPlayer); void DeleteDeviceObjects();