mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
Do not search if it is not used
This commit is contained in:
parent
813b8ee0d1
commit
a885134868
1 changed files with 0 additions and 1 deletions
|
@ -539,7 +539,6 @@ namespace Resource
|
||||||
if (mVFS->exists(normalized))
|
if (mVFS->exists(normalized))
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Failed to load '" << name << "': " << e.what() << ", using marker_error." << sMeshTypes[i] << " instead";
|
Log(Debug::Error) << "Failed to load '" << name << "': " << e.what() << ", using marker_error." << sMeshTypes[i] << " instead";
|
||||||
Files::IStreamPtr file = mVFS->get(normalized);
|
|
||||||
loaded = load(normalized, mVFS, mImageManager, mNifFileManager);
|
loaded = load(normalized, mVFS, mImageManager, mNifFileManager);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue