Skip to content

Commit

Permalink
Removed bad copy paste segment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDushan committed Mar 31, 2021
1 parent 718dfa5 commit 960bdcd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/engine/framework/FileSystem.cpp
Expand Up @@ -1288,22 +1288,6 @@ sint idFileSystemLocal::FOpenFileRead( pointer filename, fileHandle_t* file, boo
return false;
}

if( filename = nullptr )
{
Com_Error( ERR_FATAL, "idFileSystemLocal::FOpenFileRead: nullptr 'filename' parameter passed\n" );
}

if( !filename[0] )
{
if( file == nullptr )
{
return false;
}

*file = 0;
return -1;
}

//Q_vsprintf_s( demoExt, sizeof( demoExt ), sizeof( demoExt ), ".dm_%d",PROTOCOL_VERSION );
// qpaths are not supposed to have a leading slash
if( filename[0] == '/' || filename[0] == '\\' )
Expand Down

0 comments on commit 960bdcd

Please sign in to comment.