Merge pull request #361 from OdyX/allow-symlinks

Allow PHYSFS to follow symlinks, fixes the launch on Debian systems
dev-mp
krzys_h 2014-11-02 19:20:22 +01:00
commit c234652065
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ SDL_RWops* CResourceManager::GetSDLFileHandler(const std::string &filename)
return nullptr;
}
PHYSFS_permitSymbolicLinks(1);
PHYSFS_File *file = PHYSFS_openRead(CleanPath(filename).c_str());
if (!file)
{