Merge pull request #361 from OdyX/allow-symlinks
Allow PHYSFS to follow symlinks, fixes the launch on Debian systemsdev-mp
commit
c234652065
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue