@@ -66,12 +66,12 @@ CResource::CResource ( unsigned short usNetID, const char* szResourceName, CClie
66
66
// Make it a system entity so nothing but us can delete it.
67
67
m_pResourceTXDRoot = new CClientDummy ( g_pClientGame->GetManager (), INVALID_ELEMENT_ID, " txdroot" );
68
68
m_pResourceTXDRoot->MakeSystemEntity ();
69
-
69
+
70
70
// Create our IFP root element. We set its parent when we're loaded.
71
71
// Make it a system entity so nothing but us can delete it.
72
72
m_pResourceIFPRoot = new CClientDummy ( g_pClientGame->GetManager (), INVALID_ELEMENT_ID, " ifproot" );
73
73
m_pResourceIFPRoot->MakeSystemEntity ();
74
-
74
+
75
75
m_strResourceDirectoryPath = SString ( " %s/resources/%s" , g_pClientGame->GetFileCacheRoot (), *m_strResourceName );
76
76
m_strResourcePrivateDirectoryPath = PathJoin ( CServerIdManager::GetSingleton ( )->GetConnectionPrivateDirectory (), m_strResourceName );
77
77
@@ -109,11 +109,11 @@ CResource::~CResource ( void )
109
109
// Destroy the txd root so all dff elements are deleted except those moved out
110
110
g_pClientGame->GetElementDeleter ()->DeleteRecursive ( m_pResourceTXDRoot );
111
111
m_pResourceTXDRoot = NULL ;
112
-
112
+
113
113
// Destroy the ifp root so all ifp elements are deleted except those moved out
114
114
g_pClientGame->GetElementDeleter ()->DeleteRecursive ( m_pResourceIFPRoot );
115
115
m_pResourceIFPRoot = NULL ;
116
-
116
+
117
117
// Destroy the ddf root so all dff elements are deleted except those moved out
118
118
g_pClientGame->GetElementDeleter ()->DeleteRecursive ( m_pResourceDFFEntity );
119
119
m_pResourceDFFEntity = NULL ;
0 commit comments