From 3f6b591fe81ca2c93d9de221acdf90d9052d4afe Mon Sep 17 00:00:00 2001 From: Uladzislau Nikalayevich Date: Tue, 25 Feb 2025 20:06:11 +0300 Subject: [PATCH] Remove TODO --- Client/game_sa/CModelInfoSA.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Client/game_sa/CModelInfoSA.cpp b/Client/game_sa/CModelInfoSA.cpp index 31646b2a96..16eecbc997 100644 --- a/Client/game_sa/CModelInfoSA.cpp +++ b/Client/game_sa/CModelInfoSA.cpp @@ -806,7 +806,8 @@ void CModelInfoSA::SetTextureDictionaryID(unsigned short usID) size_t referencesCount = m_pInterface->usNumberOfRefs; // +1 reference for active rwObject - // TODO: pRwObject can have to unloaded TXD + // The current textures will be removed in RpAtomicDestroy + // RenderWare uses an additional reference counter per texture if (m_pInterface->pRwObject) referencesCount++;