- fixed some typos... these are pointers...

pull/25/head
Tai Chi Minh Ralph Eastwood 2013-04-05 13:31:46 +01:00
parent 705768e6d9
commit cc577f63b6
1 changed files with 2 additions and 2 deletions

View File

@ -174,8 +174,8 @@ bool Q3BSPFileImporter::CanRead( const std::string& rFile, IOSystem* pIOHandler,
if(checkSig) {
char signature[5];
std::string expected = "IBSP";
Assimp::IOStream *pStream = pIOHandler.Open(rFile, "r");
if (pStream.Read(signature, 1, 4) == 4) {
Assimp::IOStream *pStream = pIOHandler->Open(rFile, "r");
if (pStream->Read(signature, 1, 4) == 4) {
signature[4] = '\0';
if (expected == signature) {
delete pStream;