From cc577f63b68fbfd27c6220c207596fb3c4c98254 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Fri, 5 Apr 2013 13:31:46 +0100 Subject: [PATCH] - fixed some typos... these are pointers... --- code/Q3BSPFileImporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Q3BSPFileImporter.cpp b/code/Q3BSPFileImporter.cpp index 0ea898cfc..01c3dde62 100644 --- a/code/Q3BSPFileImporter.cpp +++ b/code/Q3BSPFileImporter.cpp @@ -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;