1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 21:59:55 +00:00

Merge branch 'beastly' into 'master'

Restore beast race animations

See merge request OpenMW/openmw!3752
This commit is contained in:
Alexei Kotov 2024-01-09 21:42:20 +00:00
commit 778fe606b8

View file

@ -510,11 +510,15 @@ namespace MWRender
if (!isWerewolf) if (!isWerewolf)
addAnimSource(base, smodel); addAnimSource(base, smodel);
if (smodel != defaultSkeleton && base != defaultSkeleton)
addAnimSource(defaultSkeleton, smodel);
if (!isBase) if (!isBase)
{
addAnimSource(defaultSkeleton, smodel);
addAnimSource(smodel, smodel); addAnimSource(smodel, smodel);
}
else if (base != defaultSkeleton)
{
addAnimSource(defaultSkeleton, smodel);
}
if (!isWerewolf && isBeast && mNpc->mRace.contains("argonian")) if (!isWerewolf && isBeast && mNpc->mRace.contains("argonian"))
addAnimSource("meshes\\xargonian_swimkna.nif", smodel); addAnimSource("meshes\\xargonian_swimkna.nif", smodel);