mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Fix the path correction for animation sources provided in NPC record (Fixes #2444)
This commit is contained in:
parent
41675be970
commit
5878291064
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ void NpcAnimation::updateNpcBase()
|
||||||
else if(!mNpc->isMale() && !isBeast)
|
else if(!mNpc->isMale() && !isBeast)
|
||||||
addAnimSource("meshes\\xbase_anim_female.nif");
|
addAnimSource("meshes\\xbase_anim_female.nif");
|
||||||
if(mNpc->mModel.length() > 0)
|
if(mNpc->mModel.length() > 0)
|
||||||
addAnimSource("meshes\\x"+mNpc->mModel);
|
addAnimSource(Misc::ResourceHelpers::correctActorModelPath("meshes\\" + mNpc->mModel, mResourceSystem->getVFS()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue