mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:59:54 +00:00
Merge branch 'beastly' into 'master'
Restore beast race animations See merge request OpenMW/openmw!3752
This commit is contained in:
commit
778fe606b8
1 changed files with 7 additions and 3 deletions
|
@ -510,11 +510,15 @@ namespace MWRender
|
|||
if (!isWerewolf)
|
||||
addAnimSource(base, smodel);
|
||||
|
||||
if (smodel != defaultSkeleton && base != defaultSkeleton)
|
||||
addAnimSource(defaultSkeleton, smodel);
|
||||
|
||||
if (!isBase)
|
||||
{
|
||||
addAnimSource(defaultSkeleton, smodel);
|
||||
addAnimSource(smodel, smodel);
|
||||
}
|
||||
else if (base != defaultSkeleton)
|
||||
{
|
||||
addAnimSource(defaultSkeleton, smodel);
|
||||
}
|
||||
|
||||
if (!isWerewolf && isBeast && mNpc->mRace.contains("argonian"))
|
||||
addAnimSource("meshes\\xargonian_swimkna.nif", smodel);
|
||||
|
|
Loading…
Reference in a new issue