Close the loaded file and return true...
This commit is contained in:
parent
a9fa41cf9a
commit
cfb7833b8f
1 changed files with 2 additions and 1 deletions
|
@ -168,6 +168,7 @@ bool TileBankLoader::load( const char *filename, TileModel *model, QList< Land >
|
||||||
|
|
||||||
model->setTexturePath( p->bank.getAbsPath().c_str() );
|
model->setTexturePath( p->bank.getAbsPath().c_str() );
|
||||||
|
|
||||||
|
file.close();
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue