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:
commit
778fe606b8
1 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue