@@ -115,7 +115,7 @@ class CClumpStore
115115
116116 std::vector<SSavedClumpInfo> savedClumpList;
117117 uint m_uiMaxSize;
118- uint m_uiMinCacheTime ;
118+ std:: uint32_t m_minCacheTime ;
119119 SClothesCacheStats m_Stats;
120120 int m_iCacheRevision;
121121
@@ -128,7 +128,7 @@ class CClumpStore
128128 {
129129 memset (&m_Stats, 0 , sizeof (m_Stats));
130130 m_uiMaxSize = 4 ;
131- m_uiMinCacheTime = DEFAULT_CACHE_TIME;
131+ m_minCacheTime = DEFAULT_CACHE_TIME;
132132 m_iCacheRevision = 1 ;
133133 }
134134
@@ -141,7 +141,7 @@ class CClumpStore
141141 {
142142 uint uiNumCached = 0 ;
143143
144- if (m_uiMinCacheTime > 0 )
144+ if (m_minCacheTime > 0 )
145145 {
146146 for (std::vector<SSavedClumpInfo>::iterator iter = savedClumpList.begin (); iter != savedClumpList.end (); ++iter)
147147 {
@@ -242,7 +242,7 @@ class CClumpStore
242242 if (info.bUnused )
243243 {
244244 uint uiAge = (timeNow - info.timeUnused ).ToInt ();
245- if (uiAge > m_uiMinCacheTime )
245+ if (uiAge > m_minCacheTime )
246246 {
247247 if (uiAge > uiBestAge || uiBestAge == -1 )
248248 {
@@ -414,13 +414,13 @@ void CMultiplayerSA::GetClothesCacheStats(SClothesCacheStats& outStats)
414414//
415415//
416416// ////////////////////////////////////////////////////////////////////////////////////////
417- bool CMultiplayerSA::SetClothingCacheTime (uint timeInMs)
417+ bool CMultiplayerSA::SetClothingCacheTime (std:: uint32_t timeInMs)
418418{
419- if (timeInMs == ms_clumpStore.m_uiMinCacheTime )
419+ if (timeInMs == ms_clumpStore.m_minCacheTime )
420420 return false ;
421421
422422 ms_clumpStore.savedClumpList .clear ();
423- ms_clumpStore.m_uiMinCacheTime = timeInMs;
423+ ms_clumpStore.m_minCacheTime = timeInMs;
424424
425425 return true ;
426426}
0 commit comments