mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
* 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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user