mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-19 12:40:49 +00:00
Merge remote-tracking branch 'scrawl/master'
This commit is contained in:
commit
c94f006307
@ -107,7 +107,7 @@ namespace MWWorld
|
|||||||
|
|
||||||
void load(const boost::filesystem::path& filepath, int& index)
|
void load(const boost::filesystem::path& filepath, int& index)
|
||||||
{
|
{
|
||||||
LoadersContainer::iterator it(mLoaders.find(filepath.extension().string()));
|
LoadersContainer::iterator it(mLoaders.find(Misc::StringUtils::lowerCase(filepath.extension().string())));
|
||||||
if (it != mLoaders.end())
|
if (it != mLoaders.end())
|
||||||
{
|
{
|
||||||
it->second->load(filepath, index);
|
it->second->load(filepath, index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user