mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03: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:
@@ -1407,17 +1407,9 @@ void FileSystem_ClearSteamEnvVars()
|
||||
void FileSystem_AddSearchPath_Platform( IFileSystem *pFileSystem, const char *szGameInfoPath )
|
||||
{
|
||||
char platform[MAX_PATH];
|
||||
if ( pFileSystem->IsSteam() )
|
||||
{
|
||||
// Steam doesn't support relative paths
|
||||
Q_strncpy( platform, "platform", MAX_PATH );
|
||||
}
|
||||
else
|
||||
{
|
||||
Q_strncpy( platform, szGameInfoPath, MAX_PATH );
|
||||
Q_StripTrailingSlash( platform );
|
||||
Q_strncat( platform, "/../platform", MAX_PATH, MAX_PATH );
|
||||
}
|
||||
Q_strncpy( platform, szGameInfoPath, MAX_PATH );
|
||||
Q_StripTrailingSlash( platform );
|
||||
Q_strncat( platform, "/../platform", MAX_PATH, MAX_PATH );
|
||||
|
||||
pFileSystem->AddSearchPath( platform, "PLATFORM" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user