From 5878291064e73b3c6a0a59c16db92031d45a076e Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 3 Feb 2016 14:40:21 +0100 Subject: [PATCH] Fix the path correction for animation sources provided in NPC record (Fixes #2444) --- apps/openmw/mwrender/npcanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index a032896a7..c8d7c79c5 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -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