From 950378ff65d0a715c871abf080d5e6a9bbe6fa4e Mon Sep 17 00:00:00 2001 From: Jason Hooks Date: Mon, 16 Apr 2012 17:25:55 -0400 Subject: [PATCH] Khajiit male foot fix --- apps/openmw/mwrender/npcanimation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index 4105606a9..9292c857e 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -439,14 +439,14 @@ void NpcAnimation::updateParts(){ } if(partpriorities[ESM::PRT_RFoot] < 1){ const ESM::BodyPart *footPart = mEnvironment.mWorld->getStore().bodyParts.search (bodyRaceID + "foot"); - if(isBeast) + if(isBeast && !footPart) footPart = mEnvironment.mWorld->getStore().bodyParts.search (bodyRaceID + "feet"); if(footPart) addOrReplaceIndividualPart(ESM::PRT_RFoot, -1,1,"meshes\\" + footPart->model); } if(partpriorities[ESM::PRT_LFoot] < 1){ const ESM::BodyPart *footPart = mEnvironment.mWorld->getStore().bodyParts.search (bodyRaceID + "foot"); - if(isBeast) + if(isBeast && !footPart) footPart = mEnvironment.mWorld->getStore().bodyParts.search (bodyRaceID + "feet"); if(footPart) addOrReplaceIndividualPart(ESM::PRT_LFoot, -1,1,"meshes\\" + footPart->model);