From 77b376f8a0d8d172c51729762f80bb394534aa41 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Thu, 4 Jul 2013 11:20:31 -0700 Subject: * Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details. * Pulled in bug fixes from HL2 and HL2MP. --- mp/src/public/UtlCachedFileData.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mp/src/public/UtlCachedFileData.h') diff --git a/mp/src/public/UtlCachedFileData.h b/mp/src/public/UtlCachedFileData.h index b1ced0a5..7fce91f1 100644 --- a/mp/src/public/UtlCachedFileData.h +++ b/mp/src/public/UtlCachedFileData.h @@ -936,8 +936,6 @@ void CUtlCachedFileData::CheckDiskInfo( bool forcerebuild, long cacheFileTime if ( !list.Count() ) return; - bool bSteam = g_pFullFileSystem->IsSteam(); - for ( int listStart = 0, listEnd = 0; listStart < list.Count(); listStart = listEnd+1 ) { int pathIndex = g_pFullFileSystem->GetPathIndex( m_Elements[list[listStart].index].handle ); @@ -957,7 +955,7 @@ void CUtlCachedFileData::CheckDiskInfo( bool forcerebuild, long cacheFileTime { bCheck = false; } - else if ( !bSteam ) + else { long pathTime = g_pFullFileSystem->GetPathTime( fn, "GAME" ); bCheck = (pathTime > cacheFileTime) ? true : false; -- cgit v1.2.3