Close the loaded file and return true...
This commit is contained in:
parent
4a69a4f8b2
commit
8e3ec659d5
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