Fix the path correction for animation sources provided in NPC record (Fixes #2444)

This commit is contained in:
scrawl 2016-02-03 14:40:21 +01:00
parent 41675be970
commit 5878291064

View file

@ -473,7 +473,7 @@ void NpcAnimation::updateNpcBase()
else if(!mNpc->isMale() && !isBeast)
addAnimSource("meshes\\xbase_anim_female.nif");
if(mNpc->mModel.length() > 0)
addAnimSource("meshes\\x"+mNpc->mModel);
addAnimSource(Misc::ResourceHelpers::correctActorModelPath("meshes\\" + mNpc->mModel, mResourceSystem->getVFS()));
}
}
else