mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +00:00
Fix the path correction for animation sources provided in NPC record (Fixes #2444)
This commit is contained in:
parent
41675be970
commit
5878291064
@ -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…
x
Reference in New Issue
Block a user