remove construct-and-open RageFile ctor
This commit is contained in:
@@ -45,9 +45,8 @@ bool RageMovieTexture::GetFourCC( CString fn, CString &handler, CString &type )
|
||||
return false; \
|
||||
}
|
||||
|
||||
RageFile file(fn);
|
||||
|
||||
if( !file.IsOpen() )
|
||||
RageFile file;
|
||||
if( !file.Open(fn) )
|
||||
HANDLE_ERROR("Could not open file.");
|
||||
if( !file.Seek(0x70) )
|
||||
HANDLE_ERROR("Could not seek.");
|
||||
|
||||
Reference in New Issue
Block a user