diff options
| author | Joe Ludwig <[email protected]> | 2013-07-04 11:20:31 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-07-04 11:20:31 -0700 |
| commit | 77b376f8a0d8d172c51729762f80bb394534aa41 (patch) | |
| tree | 79897a015745704f7202eaa6648c18f2e5312df4 /mp/src/public/UtlCachedFileData.h | |
| parent | Adding a CONTRIBUTING file so the rights that GitHub users grant to Valve wit... (diff) | |
| download | source-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.tar.xz source-sdk-2013-77b376f8a0d8d172c51729762f80bb394534aa41.zip | |
* 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.
Diffstat (limited to 'mp/src/public/UtlCachedFileData.h')
| -rw-r--r-- | mp/src/public/UtlCachedFileData.h | 4 |
1 files changed, 1 insertions, 3 deletions
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<T>::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<T>::CheckDiskInfo( bool forcerebuild, long cacheFileTime {
bCheck = false;
}
- else if ( !bSteam )
+ else
{
long pathTime = g_pFullFileSystem->GetPathTime( fn, "GAME" );
bCheck = (pathTime > cacheFileTime) ? true : false;
|