mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 10:38:53 +00:00
Merge pull request #926 from SRSaunders/basepath-fix
Respect basePath parameter vs hardcoded path in R_WritePNG()
This commit is contained in:
commit
f6cd2386a7
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ void R_WritePNG( const char* filename, const byte* data, int bytesPerPixel, int
|
|||
common->Error( "R_WritePNG( %s ): bytesPerPixel = %i not supported", filename, bytesPerPixel );
|
||||
}
|
||||
|
||||
idFileLocal file( fileSystem->OpenFileWrite( filename, "fs_basepath" ) );
|
||||
idFileLocal file( fileSystem->OpenFileWrite( filename, basePath ) );
|
||||
if( file == NULL )
|
||||
{
|
||||
common->Printf( "R_WritePNG: Failed to open %s\n", filename );
|
||||
|
|
Loading…
Reference in a new issue