- fixed some typos... these are pointers...
parent
705768e6d9
commit
cc577f63b6
|
@ -174,8 +174,8 @@ bool Q3BSPFileImporter::CanRead( const std::string& rFile, IOSystem* pIOHandler,
|
||||||
if(checkSig) {
|
if(checkSig) {
|
||||||
char signature[5];
|
char signature[5];
|
||||||
std::string expected = "IBSP";
|
std::string expected = "IBSP";
|
||||||
Assimp::IOStream *pStream = pIOHandler.Open(rFile, "r");
|
Assimp::IOStream *pStream = pIOHandler->Open(rFile, "r");
|
||||||
if (pStream.Read(signature, 1, 4) == 4) {
|
if (pStream->Read(signature, 1, 4) == 4) {
|
||||||
signature[4] = '\0';
|
signature[4] = '\0';
|
||||||
if (expected == signature) {
|
if (expected == signature) {
|
||||||
delete pStream;
|
delete pStream;
|
||||||
|
|
Loading…
Reference in New Issue