From b05531818ce0b023d7f04dde99ea6d59a19d294b Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Thu, 7 Mar 2019 21:09:00 +0300 Subject: [PATCH] Fix raki creatures in Skyrim: Home of the Nords (bug #4810) Make bip01 have higher priority than 'root node' node when determining the movement accumulation root --- CHANGELOG.md | 1 + apps/openmw/mwrender/animation.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index beef1c79f..c6c510fa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Bug #4800: Standing collisions are not updated immediately when an object is teleported without a cell change Bug #4803: Stray special characters before begin statement break script compilation Bug #4804: Particle system with the "Has Sizes = false" causes an exception + Bug #4810: Raki creature broken in OpenMW Bug #4813: Creatures with known file but no "Sound Gen Creature" assigned use default sounds Bug #4815: "Finished" journal entry with lower index doesn't close journal, SetJournalIndex closes journal Bug #4820: Spell absorption is broken diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index f6df24358..67e0e1d45 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -843,9 +843,9 @@ namespace MWRender if (!mAccumRoot) { - NodeMap::const_iterator found = nodeMap.find("root bone"); + NodeMap::const_iterator found = nodeMap.find("bip01"); if (found == nodeMap.end()) - found = nodeMap.find("bip01"); + found = nodeMap.find("root bone"); if (found != nodeMap.end()) mAccumRoot = found->second;