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/filesystem_init.cpp | |
| 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/filesystem_init.cpp')
| -rw-r--r-- | mp/src/public/filesystem_init.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/mp/src/public/filesystem_init.cpp b/mp/src/public/filesystem_init.cpp index 5ca97fb3..2f8366e4 100644 --- a/mp/src/public/filesystem_init.cpp +++ b/mp/src/public/filesystem_init.cpp @@ -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" );
}
|